diff options
Diffstat (limited to 'src/test/ui/parser/default-unmatched-assoc.rs')
-rw-r--r-- | src/test/ui/parser/default-unmatched-assoc.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/parser/default-unmatched-assoc.rs b/src/test/ui/parser/default-unmatched-assoc.rs deleted file mode 100644 index 168ea3e76..000000000 --- a/src/test/ui/parser/default-unmatched-assoc.rs +++ /dev/null @@ -1,16 +0,0 @@ -fn main() {} - -trait Foo { - default!(); //~ ERROR cannot find macro `default` in this scope - default do - //~^ ERROR `default` is not followed by an item - //~| ERROR non-item in item list -} - -struct S; -impl S { - default!(); //~ ERROR cannot find macro `default` in this scope - default do - //~^ ERROR `default` is not followed by an item - //~| ERROR non-item in item list -} |