diff options
Diffstat (limited to 'crates/ra_parser')
-rw-r--r-- | crates/ra_parser/src/grammar/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/types.rs b/crates/ra_parser/src/grammar/types.rs index 0eb28ef09..a5a5b6d73 100644 --- a/crates/ra_parser/src/grammar/types.rs +++ b/crates/ra_parser/src/grammar/types.rs | |||
@@ -256,7 +256,7 @@ fn path_or_macro_type_(p: &mut Parser, allow_bounds: bool) { | |||
256 | let m = p.start(); | 256 | let m = p.start(); |
257 | paths::type_path(p); | 257 | paths::type_path(p); |
258 | 258 | ||
259 | let kind = if p.at(T![!]) { | 259 | let kind = if p.at(T![!]) && !p.at(T![!=]) { |
260 | items::macro_call_after_excl(p); | 260 | items::macro_call_after_excl(p); |
261 | MACRO_CALL | 261 | MACRO_CALL |
262 | } else { | 262 | } else { |