Tracking Issue for -Z crate-attr #138287
Labels
-Zcrate-attr
Unstable option: -Zcrate-attr
A-CLI
Area: Command-line interface (CLI) to the compiler
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This is a tracking issue for the
-Z crate-attr
unstable option.About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
Unresolved Questions
#![register_tool]
.-Z crate-attr='crate_name= /* foo */ "test"'
is currently accepted without warning, and-Z crate-attr='crate_name=/*'
gives an error about an unterminated block comment.rustdoc --test
does not respect-Zcrate-attr
#138491#![ /*...*/ ]
, but don't show the surrounding code in the error:Implementation history
-Z crate-attr
diagnostics #138336The text was updated successfully, but these errors were encountered: