about summary refs log tree commit diff
path: root/tests/ui/lint/inline-exported.stderr
blob: 05a2bda24067ec09ca5cbd886279fdd08e349c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
error: `#[inline]` is ignored on externally exported functions
  --> $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
  --> $DIR/inline-exported.rs:6:9
   |
LL | #![deny(unused_attributes)]
   |         ^^^^^^^^^^^^^^^^^

error: `#[inline]` is ignored on externally exported functions
  --> $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
  --> $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