Revert "Ui tests with compile_error resolved at call site"

This reverts commit b534dafe3b.
This commit is contained in:
David Tolnay 2023-06-07 20:50:23 -07:00
parent b534dafe3b
commit 5cc5855cd0
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
18 changed files with 1 additions and 88 deletions

View file

@ -1,10 +1,5 @@
error: duplicate #[source] attribute
--> tests/ui/duplicate-enum-source.rs:8:9
|
3 | #[derive(Error, Debug)]
| ----- in this derive macro expansion
...
8 | #[source]
| ^^^^^^^^^
|
= note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)