diff options
Diffstat (limited to 'src/test/ui/issues/issue-49934-errors.rs')
| -rw-r--r-- | src/test/ui/issues/issue-49934-errors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-49934-errors.rs b/src/test/ui/issues/issue-49934-errors.rs index 58f64d137b9..6fa5f01ffd9 100644 --- a/src/test/ui/issues/issue-49934-errors.rs +++ b/src/test/ui/issues/issue-49934-errors.rs @@ -1,10 +1,10 @@ fn foo<#[derive(Debug)] T>() { //~^ ERROR `derive` may only be applied to structs, enums and unions -//~| ERROR expected an inert attribute, found an attribute macro +//~| ERROR expected an inert attribute, found a derive macro match 0 { #[derive(Debug)] //~^ ERROR `derive` may only be applied to structs, enums and unions - //~| ERROR expected an inert attribute, found an attribute macro + //~| ERROR expected an inert attribute, found a derive macro _ => (), } } |
