aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_parser/src/grammar/types.rs')
-rw-r--r--crates/ra_parser/src/grammar/types.rs2
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 bd3829f41..4e3522d48 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 {