Most of these just format the ABI string, so... just format ExternAbi? This makes it more consistent and less jank when we can do it.
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
|
|
|