1 error[E0658]: `#[track_caller]` on closures is currently unstable
2 --> $DIR/feature-gate-closure_track_caller.rs:5:20
4 LL | let _closure = #[track_caller] || {};
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
10 error[E0658]: `#[track_caller]` on closures is currently unstable
11 --> $DIR/feature-gate-closure_track_caller.rs:6:22
13 LL | let _generator = #[track_caller] || { yield; };
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
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0658`.