]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/track-caller/async-block.stderr
Rollup merge of #107108 - sulami:issue-83968-doc-alias-typo-suggestions, r=compiler...
[rust.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`.