diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-05 13:53:56 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-12-06 20:37:59 +0100 |
| commit | cbc9f683125b4eb21eb3137bbd2c5295650eeaa5 (patch) | |
| tree | e4fb76e929ef2c1504bedd057ca885c61fe14ff3 /src/test/ui/span | |
| parent | bbcda98d4107e462aae97d0b2e7c948a0d16f02b (diff) | |
derive: avoid parse_in_attr
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/macro-ty-params.rs | 1 | ||||
| -rw-r--r-- | src/test/ui/span/macro-ty-params.stderr | 8 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/test/ui/span/macro-ty-params.rs b/src/test/ui/span/macro-ty-params.rs index b077d590915..713b9eb542c 100644 --- a/src/test/ui/span/macro-ty-params.rs +++ b/src/test/ui/span/macro-ty-params.rs @@ -10,5 +10,4 @@ fn main() { foo::<T>!(); //~ ERROR generic arguments in macro path foo::<>!(); //~ ERROR generic arguments in macro path m!(Default<>); //~ ERROR generic arguments in macro path - //~^ ERROR unexpected generic arguments in path } diff --git a/src/test/ui/span/macro-ty-params.stderr b/src/test/ui/span/macro-ty-params.stderr index 39b3edc6703..21683b2fb86 100644 --- a/src/test/ui/span/macro-ty-params.stderr +++ b/src/test/ui/span/macro-ty-params.stderr @@ -10,17 +10,11 @@ error: generic arguments in macro path LL | foo::<>!(); | ^^ -error: unexpected generic arguments in path - --> $DIR/macro-ty-params.rs:12:8 - | -LL | m!(Default<>); - | ^^^^^^^^^ - error: generic arguments in macro path --> $DIR/macro-ty-params.rs:12:15 | LL | m!(Default<>); | ^^ -error: aborting due to 4 previous errors +error: aborting due to 3 previous errors |
