Files
rust/tests/ui/lint/inline-exported.stderr

32 lines
928 B
Plaintext
Raw Normal View History

error: `#[inline]` is ignored on externally exported functions
2024-12-18 22:05:27 +01:00
--> $DIR/inline-exported.rs:8:1
|
LL | #[inline]
| ^^^^^^^^^
|
= help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
note: the lint level is defined here
2024-12-18 22:05:27 +01:00
--> $DIR/inline-exported.rs:6:9
|
LL | #![deny(unused_attributes)]
| ^^^^^^^^^^^^^^^^^
error: `#[inline]` is ignored on externally exported functions
2024-12-18 22:05:27 +01:00
--> $DIR/inline-exported.rs:13:1
|
LL | #[inline]
| ^^^^^^^^^
|
= help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
error: `#[inline]` is ignored on externally exported functions
2024-12-18 22:05:27 +01:00
--> $DIR/inline-exported.rs:18:1
|
LL | #[inline]
| ^^^^^^^^^
|
= help: externally exported functions are functions with `#[no_mangle]`, `#[export_name]`, or `#[linkage]`
error: aborting due to 3 previous errors