]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2091-track-caller/error-with-naked.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / rfc-2091-track-caller / error-with-naked.stderr
1 error[E0736]: cannot use `#[track_caller]` with `#[naked]`
2   --> $DIR/error-with-naked.rs:6:1
3    |
4 LL | #[track_caller]
5    | ^^^^^^^^^^^^^^^
6
7 error[E0736]: cannot use `#[track_caller]` with `#[naked]`
8   --> $DIR/error-with-naked.rs:16:5
9    |
10 LL |     #[track_caller]
11    |     ^^^^^^^^^^^^^^^
12
13 error[E0737]: `#[track_caller]` requires Rust ABI
14   --> $DIR/error-with-naked.rs:6:1
15    |
16 LL | #[track_caller]
17    | ^^^^^^^^^^^^^^^
18
19 error[E0737]: `#[track_caller]` requires Rust ABI
20   --> $DIR/error-with-naked.rs:16:5
21    |
22 LL |     #[track_caller]
23    |     ^^^^^^^^^^^^^^^
24
25 error: aborting due to 4 previous errors
26
27 Some errors have detailed explanations: E0736, E0737.
28 For more information about an error, try `rustc --explain E0736`.