mirror of https://github.com/rust-lang/rust.git
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
error: expected non-macro inner attribute, found attribute macro `print_attr`
|
|
--> $DIR/inner-attrs.rs:65: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:73: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:77:12
|
|
|
|
|
LL | #![print_attr]
|
|
| ^^^^^^^^^^ not a non-macro inner attribute
|
|
|
|
warning: extern declarations without an explicit ABI are deprecated
|
|
--> $DIR/inner-attrs.rs:82:1
|
|
|
|
|
LL | extern {
|
|
| ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
|
|
|
|
|
= note: `#[warn(missing_abi)]` on by default
|
|
|
|
error: aborting due to 4 previous errors; 1 warning emitted
|
|
|