Skip to content
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

librustc: Improve error message for missing feature attributes. #13471

Merged
merged 1 commit into from Apr 13, 2014

Conversation

Ryman
Copy link
Contributor

@Ryman Ryman commented Apr 12, 2014

The current error message is misleading, it asks users to add #[feature(..)] which ends up being treated as an outer attribute, which then has no error unless attribute_usage lint is enforced. The code will still fail and the user might not understand why.

bors added a commit that referenced this pull request Apr 13, 2014
The current error message is misleading, it asks users to add `#[feature(..)]` which ends up being treated as an outer attribute, which then has no error unless `attribute_usage` lint is enforced. The code will still fail and the user might not understand why.
@bors bors closed this Apr 13, 2014
@bors bors merged commit c48a3ef into rust-lang:master Apr 13, 2014
compiler-errors pushed a commit to compiler-errors/rust that referenced this pull request Oct 26, 2022
Handle multiple projects sharing dependency correctly in `once` strategy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants