document that the rustc tool namespace is reserved#1821
Closed
jyn514 wants to merge 1 commit into
Closed
Conversation
this section in the reference is not quite right; or at least is an incomplete summary. here is a more detailed explanation of what's currently implemented: |Tool|Lints|Attributes| |-|-|-| |`clippy`|✅|✅| |`rustfmt`|❌|✅| |`miri`|❌|✅| |`rust_analyzer`|❌|✅| |`rustdoc`|✅|❌| |`rustc`|✅ (with `-Z unstable-options`)|❌| |`diagnostic`|❌|✅| i'm not sure how to write that up, and it doesn't belong in the attributes section anyway, so i've just added this short snippet.
Member
Author
|
i think it would be good to make the lints and attributes consistent; i think it would be confusing to reserve one but not the other. but that's a policy decision, not a documentation issue. |
Contributor
|
Thanks for the PR. Maybe we misunderstand the intent here -- and if so, please feel free to clarify -- but we don't generally document unstable features in the Reference, and there's no way on stable Rust to use tools other than those that we've allowed, so it doesn't really mean anything to reserve a namespace in that context. So we'll close this out. |
Member
Author
|
hmm, ok. i will make this part of the pr that documents |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this section in the reference is not quite right; or at least is an incomplete summary. here is a more detailed explanation of what's currently implemented:
clippyrustfmtmirirust_analyzerrustdocrustc-Z unstable-options)diagnostici'm not sure how to write that up, and it doesn't belong in the attributes section anyway, so i've just added this short snippet.
thanks to @BD103 for putting together the pretty markdown table.
cc rust-lang/rfcs#3808