-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
macros in static-assertions
crate no longer compile
#94791
Comments
Lemme rustc-bisect this.. |
I'm on a tier 2 platform but here's my bisect: searched nightlies: from nightly-2021-10-01 to nightly-2022-03-10 bisected with cargo-bisect-rustc v0.6.1Host triple: aarch64-apple-darwin cargo bisect-rustc --start=2021-01-01 |
Nah you're likely right. My internet died during the bisect so sorry for leaving you hanging, haha. Thanks for doing the bisect. So the issue seems to be that #87869 made |
Okay, that's good then. Weird that there's no reference to it in the PR. I suppose this is the tricky bit about negative impl testing auto traits. |
Code
I tried this code:
This is a reduction of the macro output from
assert_not_impl_any!
macro of the static-assertions crate.I expected to see this happen: Successful compilation.
Instead, this happened:
Version it worked on
It most recently worked on:
rustc 1.59.0 (9d1b2106e 2022-02-23)
Version with regression
rustc --version --verbose
:References
assert_not_impl_any
nvzqz/static-assertions#46The text was updated successfully, but these errors were encountered: