diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-09-05 14:55:15 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-09-08 21:32:03 +0200 |
| commit | 1d02f4fdcca2ca7b6dd487b505664a37cb1e9a8b (patch) | |
| tree | e6600a4a7fbf03014da9632ed19565ecd48d57e3 /src/test/ui/span | |
| parent | e0df2f87b6116133740bec90f341943181d90f1c (diff) | |
| download | rust-1d02f4fdcca2ca7b6dd487b505664a37cb1e9a8b.tar.gz rust-1d02f4fdcca2ca7b6dd487b505664a37cb1e9a8b.zip | |
Update tests
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/issue-43927-non-ADT-derive.stderr | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/span/issue-43927-non-ADT-derive.stderr b/src/test/ui/span/issue-43927-non-ADT-derive.stderr index b68681c5297..b160a4e5877 100644 --- a/src/test/ui/span/issue-43927-non-ADT-derive.stderr +++ b/src/test/ui/span/issue-43927-non-ADT-derive.stderr @@ -1,4 +1,4 @@ -error: `derive` may only be applied to structs, enums and unions +error[E0774]: `derive` may only be applied to structs, enums and unions --> $DIR/issue-43927-non-ADT-derive.rs:3:1 | LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute! @@ -54,3 +54,4 @@ LL | #![derive(Debug, PartialEq, Eq)] // should be an outer attribute! error: aborting due to 7 previous errors +For more information about this error, try `rustc --explain E0774`. |
