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

Minimum lint levels for C-future-compatibility issues: take two #68501

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove unused variable
Aaron1011 committed Jan 24, 2020

Verified

This commit was signed with the committer’s verified signature.
Aaron1011 Aaron Hill
commit b7f4d8a4627b3b7105ae40ce777aaaf36db106a8
1 change: 0 additions & 1 deletion src/librustc/lint.rs
Original file line number Diff line number Diff line change
@@ -212,7 +212,6 @@ pub fn struct_lint_level<'a>(
};

// Check for future incompatibility lints and issue a stronger warning.
let lint_id = LintId::of(lint);
let future_incompatible = lint.future_incompatible;

// If this code originates in a foreign macro, aka something that this crate