fork/rust

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

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

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