diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-07-04 10:12:39 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-08-31 14:01:07 +0000 |
| commit | 5f1f45b095f0980acd02bd3bbdc2a3ba9e8b8a38 (patch) | |
| tree | 0b767f54cb8a06fe31a4374ee5b1f1ac8622a361 /compiler/rustc_errors/src/lib.rs | |
| parent | 111b0a97b4c849d7abac396fc4c6dd6a159c8560 (diff) | |
| download | rust-5f1f45b095f0980acd02bd3bbdc2a3ba9e8b8a38.tar.gz rust-5f1f45b095f0980acd02bd3bbdc2a3ba9e8b8a38.zip | |
Remove attr_id from stable lint ids.
Diffstat (limited to 'compiler/rustc_errors/src/lib.rs')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 967e64c2d9f..e08d28a156c 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -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); |
