resolve: More precise determinacy tracking during import/macro resolution

This commit is contained in:
Vadim Petrochenkov 2018-11-08 00:39:07 +03:00
parent f0ea1c6f1e
commit 1cfd08c0c4
5 changed files with 166 additions and 133 deletions

View file

@ -4,6 +4,12 @@ error: unexpected generic arguments in path
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^^^^^^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:20:15
|
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:18:8
|
@ -16,11 +22,5 @@ error: generic arguments in macro path
LL | foo::<>!(); //~ ERROR generic arguments in macro path
| ^^^^
error: generic arguments in macro path
--> $DIR/macro-ty-params.rs:20:15
|
LL | m!(MyTrait<>); //~ ERROR generic arguments in macro path
| ^^
error: aborting due to 4 previous errors