-
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
Missing self_in_typedefs help message #54563
Comments
The rust/src/librustc_resolve/lib.rs Lines 2998 to 3007 in 31789a6
You can see how such a You can also use |
Thanks for the above guidance, @estebank. And sorry I forgot to include this with the initial PR. Let me add that this is slightly tricky, due to the fact we do not know the context of the |
@estebank I noticed there's also |
Nope, if that is available use that one. They should both be the same value. |
Okay sure. We don't have a |
…tebank Added help message for `self_in_typedefs` feature gate Fixes rust-lang#54563. CC @Centril @estebank @leonardo-m
This code compiles with recent Nightly:
If I remove the feature, on Nightly:
It gives error messages but no suggestion to add the self_in_typedefs feature:
For some other features Rustc gives such help:
The text was updated successfully, but these errors were encountered: