fork/rust

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

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

1.40.0
470 B16 linesraw
1error: malformed `track_caller` attribute input
2  --> $DIR/error-odd-syntax.rs:3:1
3   |
4LL | #[track_caller(1)]
5   | ^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[track_caller]`
6
7warning: the feature `track_caller` is incomplete and may cause the compiler to crash
8  --> $DIR/error-odd-syntax.rs:1:12
9   |
10LL | #![feature(track_caller)]
11   |            ^^^^^^^^^^^^
12   |
13   = note: `#[warn(incomplete_features)]` on by default
14
15error: aborting due to previous error
16