-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression in async generator and fmt internals: loss of Send
#93274
Comments
@matthiaskrgr I was also suspecting one of those, although I have to admit not having looked into it any further |
Does it work with #93284 btw ? That should completely disable drop range tracking. (I've launched a try build there so that we have artifacts ready for that soon). There were also recent changes in the formatting macros/machinery last week IIRC. That could be related as well. This should be easy enough to bisect, and make sure where the regression is coming from. |
Answering my own questions:
|
Nice investigation @lqd! |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-high |
This removes the `info!()` log because of rust-lang/rust#93274
We can't use `.await` inside `info!()` because of rust-lang/rust#93274
Context
This has already tripped up some people which seem to get quite confused with this error message, so I'd rather we not regress here:
Code
I tried this code:
I expected to see this happen: Code compiles fine: the type of
foo()
isSend
.Instead, this happened: The type of
foo()
is not send, since the backing state-machine generator produced for it now captures part of thefmt
internals involving a&
reference to theextern { type Opaque; }
, which is notSync
.Version it worked on
It most recently worked on: beta
Version with regression
rustc --version --verbose
:@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: