Migrate all diagnostics
This commit is contained in:
parent
2459569776
commit
c65ebae221
58 changed files with 1279 additions and 1318 deletions
|
@ -45,14 +45,14 @@ fn emit_unfulfilled_expectation_lint(
|
|||
builtin::UNFULFILLED_LINT_EXPECTATIONS,
|
||||
hir_id,
|
||||
expectation.emission_span,
|
||||
fluent::lint::expectation,
|
||||
fluent::lint_expectation,
|
||||
|lint| {
|
||||
if let Some(rationale) = expectation.reason {
|
||||
lint.note(rationale.as_str());
|
||||
}
|
||||
|
||||
if expectation.is_unfulfilled_lint_expectations {
|
||||
lint.note(fluent::lint::note);
|
||||
lint.note(fluent::note);
|
||||
}
|
||||
|
||||
lint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue