summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/track-caller/async-closure-gate.stderr
blob: 498f1b43b9bca4f587f1121fc593dac62920e8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0658]: `#[track_caller]` on closures is currently unstable
  --> $DIR/async-closure-gate.rs:6:13
   |
LL |     let _ = #[track_caller] async || {
   |             ^^^^^^^^^^^^^^^
   |
   = note: see issue #87417 <https://github.com/rust-lang/rust/issues/87417> for more information
   = help: add `#![feature(closure_track_caller)]` to the crate attributes to enable

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.