Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
async-await
/
track-caller
/
async-block.rs
blob: 8e81387c34bd056013659ffca95f4840e031f7d2 [
file
] [
log
] [
blame
]
// edition:2021
#![
feature
(
closure_track_caller
,
stmt_expr_attributes
)]
fn
main
()
{
let
_
=
#[
track_caller
]
async
{
//~^ ERROR attribute should be applied to a function definition [E0739]
};
}