]> git.proxmox.com Git - rustc.git/blob - tests/ui/async-await/track-caller/async-block.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / async-await / track-caller / async-block.stderr
1 error[E0739]: attribute should be applied to a function definition
2 --> $DIR/async-block.rs:6:13
3 |
4 LL | let _ = #[track_caller] async {
5 | _____________^^^^^^^^^^^^^^^_-
6 LL | |
7 LL | | };
8 | |_____- not a function definition
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0739`.