Make LintExpectationId
stable between compilation sessions (RFC-2383)
This commit is contained in:
parent
44cb8fa482
commit
33a5945069
10 changed files with 171 additions and 39 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue