async{}
blocks can no longer be used in functions marked as #[track_caller]
#105134
Labels
A-async-await
Area: Async & Await
C-bug
Category: This is a bug.
P-critical
Critical priority
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Code
The following code compiles and works as expected on
nightly-2022-11-17
and fails onnightly-2022-11-18
:(play)
Version it worked on
It most recently worked on:
nightly-2022-11-17
Version with regression
rustc --version --verbose
:Similarly to #104588, this is caused by #104219, but this reproduction doesn't even use
#[track_caller]
onasync fn
!btw I've found this b/c users of my crate reported that it doesn't compile anymore, good stuff
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
cc @bryangarza
The text was updated successfully, but these errors were encountered: