Remove attr_id from stable lint ids.
This commit is contained in:
parent
111b0a97b4
commit
5f1f45b095
5 changed files with 14 additions and 42 deletions
|
@ -1567,7 +1567,7 @@ impl DiagCtxtInner {
|
|||
if let LintExpectationId::Unstable { .. } = expect_id {
|
||||
unreachable!(); // this case was handled at the top of this function
|
||||
}
|
||||
self.fulfilled_expectations.insert(expect_id.normalize());
|
||||
self.fulfilled_expectations.insert(expect_id);
|
||||
if let Expect(_) = diagnostic.level {
|
||||
// Nothing emitted here for expected lints.
|
||||
TRACK_DIAGNOSTIC(diagnostic, &mut |_| None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue