-
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: macro expansion/resolution change of some kind #119875
Comments
This regressed in #114571, cc @nnethercote @petrochenkov. This breakage seems to be acknowledged here: #114571 (comment) I'm surprised this was just r+'d rather than going through some team consensus or comment period given that it breaks crates in the wild. |
There are a small number of crates that implement proc macros by calling We judged that the number of affected crates was small, and their use was small, and therefore that this was acceptable. I'm happy to listen if others disagree. |
Reviewed during T-compiler triage. We agree with @nnethercote and @petrochenkov's judgment that the breakage here is acceptable. In particular, the documentation for Normally, I would suggest we open PRs to the affected crates but all of the crates mentioned in the crater report have been dormant for >3 years. As such, I don't think those PRs would be merged so I'm ok with this shipping as-is in 1.76. |
To expressly warn against the kind of proc macro implementation that was broken in rust-lang#119875.
…cs, r=petrochenkov Document `Token{Stream,Tree}::Display` more thoroughly. To expressly warn against the kind of proc macro implementation that was broken in rust-lang#119875. r? `@petrochenkov`
…cs, r=petrochenkov Document `Token{Stream,Tree}::Display` more thoroughly. To expressly warn against the kind of proc macro implementation that was broken in rust-lang#119875. r? ``@petrochenkov``
Rollup merge of rust-lang#120220 - nnethercote:TokenStream-Display-docs, r=petrochenkov Document `Token{Stream,Tree}::Display` more thoroughly. To expressly warn against the kind of proc macro implementation that was broken in rust-lang#119875. r? ``@petrochenkov``
Note: in #120220 I augmented the documentation for @Mark-Simulacrum: In light of all the above discussion, can we close this issue? |
Ah, I want to double check there's a note in the release notes but will close after that. |
@Mark-Simulacrum: there will be a tiny bit more similar breakage in 1.77 due to further tweaks to |
Those aren't even in draft yet, but if we pick up on the breakage through crater we'll certainly do so. (Also tagged the PR so that we are more likely to see it while drafting). |
The text was updated successfully, but these errors were encountered: