File tree 2 files changed +83
-83
lines changed
compiler/rustc_ast_passes/src
2 files changed +83
-83
lines changed Original file line number Diff line number Diff line change @@ -673,7 +673,7 @@ impl<'a> AstValidator<'a> {
673
673
MISSING_ABI ,
674
674
id,
675
675
span,
676
- fluent:: ast_passes :: deprecated_extern_missing_abi ,
676
+ fluent:: ast_passes_deprecated_extern_missing_abi ,
677
677
BuiltinLintDiagnostics :: MissingAbi ( span, abi:: Abi :: FALLBACK ) ,
678
678
)
679
679
}
@@ -1274,8 +1274,8 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
1274
1274
if mut_ident && matches ! ( ctxt, FnCtxt :: Assoc ( _) ) {
1275
1275
if let Some ( ident) = ident {
1276
1276
let msg = match ctxt {
1277
- FnCtxt :: Foreign => fluent:: ast_passes :: patterns_in_foreign_fns ,
1278
- _ => fluent:: ast_passes :: patterns_in_fns_without_body ,
1277
+ FnCtxt :: Foreign => fluent:: ast_passes_patterns_in_foreign_fns ,
1278
+ _ => fluent:: ast_passes_patterns_in_fns_without_body ,
1279
1279
} ;
1280
1280
let diag = BuiltinLintDiagnostics :: PatternsInFnsWithoutBody ( span, ident) ;
1281
1281
self . lint_buffer . buffer_lint_with_diagnostic (
You can’t perform that action at this time.
0 commit comments