Lines Matching refs:is_none
1044 if generics.lt_token.is_none() && generics.where_clause.is_none() => in parse_rest_of_item()
1178 if generics.where_clause.is_none() => in parse()
1340 let tree = parse_use_tree(input, allow_crate_root_in_path && leading_colon.is_none())?; in parse_item_use()
1520 && unsafety.is_none() in parse_signature()
1853 let has_safe = sig.is_none(); in parse()
1882 unsafety.is_none() && token::parsing::peek_keyword(input.cursor(), "safe"); in parse()
2076 Some(ty) if colon_token.is_none() => ty, in parse_item_type()
2360 if generics.lt_token.is_none() && generics.where_clause.is_none() { in parse()
2386 && defaultness.is_none() in parse()
2644 if has_visibility || is_const_impl || is_impl_for && trait_.is_none() { in parse_impl()
2708 if generics.lt_token.is_none() && generics.where_clause.is_none() => in parse()
2729 && defaultness.is_none() in parse()
2880 Some(ty) if colon_token.is_none() => ty, in parse_impl_item_type()
3455 Type::Path(ty) => ty.qself.is_none() && ty.path.is_ident("Self"), in to_tokens()
3459 (None, _, Type::Path(ty)) => ty.qself.is_none() && ty.path.is_ident("Self"), in to_tokens()