diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-09-14 22:36:58 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-09-14 22:36:58 +0300 |
| commit | f6a5b29d197ba3f64007e51b948b427232173f2f (patch) | |
| tree | dd5f93cfedc2dfb90f423f9833ed061731e08976 /src/test/ui/issues/issue-49934-errors.rs | |
| parent | ca3766e2e58f462a20922e42c821a37eaf0e13db (diff) | |
| download | rust-f6a5b29d197ba3f64007e51b948b427232173f2f.tar.gz rust-f6a5b29d197ba3f64007e51b948b427232173f2f.zip | |
resolve: Tweak some expected/found wording
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 _ => (), } } |
