about summary refs log tree commit diff
path: root/tests/ui/error-codes/E0540.stderr
blob: 3e5f408feb551846dfdb1c9a581c1833a11241d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0805]: malformed `inline` attribute input
  --> $DIR/E0540.rs:1:1
   |
LL | #[inline()]
   | ^^^^^^^^--^
   |         |
   |         expected a single argument here
   |
help: try changing it to one of the following valid forms of the attribute
   |
LL | #[inline(always|never)]
   |          ++++++++++++
LL - #[inline()]
LL + #[inline]
   |

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0805`.