1
Fork 0

Make LintExpectationId stable between compilation sessions (RFC-2383)

This commit is contained in:
xFrednet 2021-11-20 20:45:27 +01:00
parent 44cb8fa482
commit 33a5945069
No known key found for this signature in database
GPG key ID: FCDCBF29AF64D601
10 changed files with 171 additions and 39 deletions

View file

@ -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