rust/tests/ui/resolve/attr-macros-positional-rejection.stderr
许杰友 Jieyou Xu (Joe) 836a0e00e5 Adjust tests/ui/attrs-resolution-errors.rs
- Move `tests/ui/attrs-resolution-errors.rs` to `tests/ui/resolve/`.
- Document test intent.
- Rename test to `attr-macros-positional-rejection.rs` to better reflect
  test intent.
2024-12-17 19:57:42 +08:00

33 lines
996 B
Plaintext

error: expected non-macro attribute, found attribute macro `test`
--> $DIR/attr-macros-positional-rejection.rs:11:7
|
LL | #[test]
| ^^^^ not a non-macro attribute
error: expected non-macro attribute, found attribute macro `test`
--> $DIR/attr-macros-positional-rejection.rs:17:7
|
LL | #[test]
| ^^^^ not a non-macro attribute
error: expected non-macro attribute, found attribute macro `test`
--> $DIR/attr-macros-positional-rejection.rs:32:15
|
LL | #[test] bar
| ^^^^ not a non-macro attribute
error: expected non-macro attribute, found attribute macro `test`
--> $DIR/attr-macros-positional-rejection.rs:39:11
|
LL | #[test]
| ^^^^ not a non-macro attribute
error: expected non-macro attribute, found attribute macro `test`
--> $DIR/attr-macros-positional-rejection.rs:45:11
|
LL | #[test]
| ^^^^ not a non-macro attribute
error: aborting due to 5 previous errors