-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Add auto_cfg
and no_auto_cfg
attributes
#102599
Conversation
Some changes occurred in src/librustdoc/clean/types.rs cc @camelid
cc @davidtwco, @compiler-errors, @JohnTitor, @estebank, @TaKO8Ki |
This comment has been minimized.
This comment has been minimized.
33d6c4d
to
bff5397
Compare
Fixed the error. |
…with `doc_auto_cfg` feature
bff5397
to
20724ef
Compare
Updated and rebased. Thanks for the improvements! |
@bors r+ |
Actually, no. I want to make sure #100883 (comment) is resolved first. @bors r- |
☔ The latest upstream changes (presumably #102948) made this pull request unmergeable. Please resolve the merge conflicts. |
Hi, I've seen you changed some diagnostic structs in your PR. After #103345, the way we refer to fluent messages changed. They are now in a flat namespace with the same identifier as in the fluent file. For example, |
Forgot to mention but we are writing an RFC for this and for |
There are quite a lot of merge conflicts here. I'm going to close this for now until the RFC is accepted. |
Needed for #100883.
I cherry-picked commits from #100883, added documentation and added a warning (and its test) in case
feature(doc_auto_cfg)
is used withoutdoc(auto_cfg)
.Once this PR is merged, we'll wait for 1 release cycle to go back to #100883.
cc @Nemo157
r? @notriddle