rust/tests/ui/proc-macro/inner-attrs.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.1 KiB
Text
Raw Normal View History

error: expected non-macro inner attribute, found attribute macro `print_attr`
--> $DIR/inner-attrs.rs:64:12
|
LL | #![print_attr]
| ^^^^^^^^^^ not a non-macro inner attribute
error: expected non-macro inner attribute, found attribute macro `print_attr`
--> $DIR/inner-attrs.rs:69:12
|
LL | #![print_attr]
| ^^^^^^^^^^ not a non-macro inner attribute
error: expected non-macro inner attribute, found attribute macro `print_attr`
--> $DIR/inner-attrs.rs:74:12
|
LL | #![print_attr]
| ^^^^^^^^^^ not a non-macro inner attribute
error: expected non-macro inner attribute, found attribute macro `print_attr`
--> $DIR/inner-attrs.rs:79:12
|
LL | #![print_attr]
| ^^^^^^^^^^ not a non-macro inner attribute
2024-10-31 11:39:45 +01:00
warning: extern declarations without an explicit ABI are deprecated
--> $DIR/inner-attrs.rs:85:1
2024-10-31 11:39:45 +01:00
|
LL | extern {
| ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
2024-10-31 11:39:45 +01:00
|
= note: `#[warn(missing_abi)]` on by default
error: aborting due to 4 previous errors; 1 warning emitted