Revert "Ui tests with compile_error resolved at call site"

This reverts commit e77db40b8d.
This commit is contained in:
David Tolnay
2023-06-07 20:50:51 -07:00
parent e77db40b8d
commit bbba632ab3
92 changed files with 0 additions and 467 deletions
@@ -1,10 +1,5 @@
error: malformed bound attribute, expected `bound(serialize = ..., deserialize = ...)`
--> tests/ui/malformed/bound.rs:5:19
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | struct S {
5 | #[serde(bound(unknown))]
| ^^^^^^^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,9 +1,5 @@
error: unexpected end of input, expected an expression
--> tests/ui/malformed/cut_off.rs:4:17
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | #[serde(rename =)]
| ^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,20 +1,11 @@
error: expected attribute arguments in parentheses: #[serde(...)]
--> tests/ui/malformed/not_list.rs:4:3
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | #[serde]
| ^^^^^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
error: expected parentheses: #[serde(...)]
--> tests/ui/malformed/not_list.rs:5:9
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | #[serde]
5 | #[serde = "?"]
| ^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,10 +1,5 @@
error: malformed rename attribute, expected `rename(serialize = ..., deserialize = ...)`
--> tests/ui/malformed/rename.rs:5:20
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | struct S {
5 | #[serde(rename(unknown))]
| ^^^^^^^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,10 +1,5 @@
error: expected `=`
--> tests/ui/malformed/trailing_expr.rs:5:32
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | struct S {
5 | #[serde(skip_serializing_if, x.is_empty())]
| ^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)