fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
532 B17 linesraw
1warning: the feature `track_caller` is incomplete and may cause the compiler to crash
2  --> $DIR/error-with-naked.rs:1:29
3   |
4LL | #![feature(naked_functions, track_caller)]
5   |                             ^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error[E0736]: cannot use `#[track_caller]` with `#[naked]`
10  --> $DIR/error-with-naked.rs:3:1
11   |
12LL | #[track_caller]
13   | ^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0736`.