Make early lints translatable
This commit is contained in:
parent
b7abf014ec
commit
8004e6a379
27 changed files with 1176 additions and 550 deletions
|
@ -847,7 +847,10 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
|||
lint,
|
||||
node_id,
|
||||
span,
|
||||
BuiltinLintDiag::UnstableFeature(msg),
|
||||
BuiltinLintDiag::UnstableFeature(
|
||||
// FIXME make this translatable
|
||||
msg.into(),
|
||||
),
|
||||
)
|
||||
};
|
||||
stability::report_unstable(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue