about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/expect.rs
diff options
context:
space:
mode:
authorxFrednet <xFrednet@gmail.com>2021-11-20 20:45:27 +0100
committerxFrednet <xFrednet@gmail.com>2022-03-02 17:46:08 +0100
commit33a5945069e2c7bd3ba8a0dd65b74ebdd234ad7c (patch)
tree148bd4bf7d42747ed3a2542ca446c429938c4a6c /compiler/rustc_lint/src/expect.rs
parent44cb8fa482abaa567119ceab125498cfeef1171b (diff)
downloadrust-33a5945069e2c7bd3ba8a0dd65b74ebdd234ad7c.tar.gz
rust-33a5945069e2c7bd3ba8a0dd65b74ebdd234ad7c.zip
Make `LintExpectationId` stable between compilation sessions (RFC-2383)
Diffstat (limited to 'compiler/rustc_lint/src/expect.rs')
-rw-r--r--compiler/rustc_lint/src/expect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/expect.rs b/compiler/rustc_lint/src/expect.rs
index a0c8b3501cd..49664322a98 100644
--- a/compiler/rustc_lint/src/expect.rs
+++ b/compiler/rustc_lint/src/expect.rs
@@ -25,7 +25,7 @@ pub fn check_expectations(tcx: TyCtxt<'_>) {
 }
 
 fn emit_unfulfilled_expectation_lint(tcx: TyCtxt<'_>, expectation: &LintExpectation) {
-    // FIXME  The current implementation doesn't cover cases where the
+    // FIXME: The current implementation doesn't cover cases where the
     // `unfulfilled_lint_expectations` is actually expected by another lint
     // expectation. This can be added here as we have the lint level of this
     // expectation, and we can also mark the lint expectation it would fulfill