non_local_defs: improve exception note for impl and macro_rules!
- Remove wrong exception text for non-local macro_rules! - Simplify anonymous const exception note
This commit is contained in:
parent
22095fbd8d
commit
402580bcd5
7 changed files with 6 additions and 14 deletions
|
@ -1421,7 +1421,6 @@ impl<'a> LintDiagnostic<'a, ()> for NonLocalDefinitionsDiag {
|
|||
}
|
||||
|
||||
diag.note(fluent::lint_non_local);
|
||||
diag.note(fluent::lint_exception);
|
||||
diag.note(fluent::lint_non_local_definitions_deprecation);
|
||||
|
||||
if let Some(cargo_update) = cargo_update {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue