fork/rust

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

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

1.40.0
462 B18 linesraw
1warning: the feature `track_caller` is incomplete and may cause the compiler to crash
2  --> $DIR/only-for-fns.rs:1:12
3   |
4LL | #![feature(track_caller)]
5   |            ^^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error[E0739]: attribute should be applied to function
10  --> $DIR/only-for-fns.rs:3:1
11   |
12LL | #[track_caller]
13   | ^^^^^^^^^^^^^^^
14LL | struct S;
15   | --------- not a function
16
17error: aborting due to previous error
18