fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
2.3 KiB57 linesraw
1error[E0658]: `#[track_caller]` on closures is currently unstable
2  --> $DIR/async-closure-gate.rs:8:13
3   |
4LL |     let _ = #[track_caller] async || {
5   |             ^^^^^^^^^^^^^^^
6   |
7   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
8   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
9
10error[E0658]: `#[track_caller]` on closures is currently unstable
11  --> $DIR/async-closure-gate.rs:15:13
12   |
13LL |     let _ = #[track_caller] async || {
14   |             ^^^^^^^^^^^^^^^
15   |
16   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
17   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
18
19error[E0658]: `#[track_caller]` on closures is currently unstable
20  --> $DIR/async-closure-gate.rs:21:13
21   |
22LL |     let _ = #[track_caller] || {
23   |             ^^^^^^^^^^^^^^^
24   |
25   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
26   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
27
28error[E0658]: `#[track_caller]` on closures is currently unstable
29  --> $DIR/async-closure-gate.rs:28:17
30   |
31LL |         let _ = #[track_caller] || {
32   |                 ^^^^^^^^^^^^^^^
33   |
34   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
35   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
36
37error[E0658]: `#[track_caller]` on closures is currently unstable
38  --> $DIR/async-closure-gate.rs:36:9
39   |
40LL |         #[track_caller] || {
41   |         ^^^^^^^^^^^^^^^
42   |
43   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
44   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
45
46error[E0658]: `#[track_caller]` on closures is currently unstable
47  --> $DIR/async-closure-gate.rs:45:13
48   |
49LL |             #[track_caller] || {
50   |             ^^^^^^^^^^^^^^^
51   |
52   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
53   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable
54
55error: aborting due to 6 previous errors
56
57For more information about this error, try `rustc --explain E0658`.