don't confuse macro with !=

closes #1871
This commit is contained in:
Aleksey Kladov 2019-09-20 16:23:24 +03:00
parent 44bab3621d
commit 0f70290b6e
3 changed files with 70 additions and 1 deletions

View file

@ -256,7 +256,7 @@ fn path_or_macro_type_(p: &mut Parser, allow_bounds: bool) {
let m = p.start();
paths::type_path(p);
let kind = if p.at(T![!]) {
let kind = if p.at(T![!]) && !p.at(T![!=]) {
items::macro_call_after_excl(p);
MACRO_CALL
} else {