File tree Expand file tree Collapse file tree 2 files changed +83
-83
lines changed
compiler/rustc_ast_passes/src Expand file tree Collapse file tree 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> {
673673 MISSING_ABI ,
674674 id,
675675 span,
676- fluent:: ast_passes :: deprecated_extern_missing_abi ,
676+ fluent:: ast_passes_deprecated_extern_missing_abi ,
677677 BuiltinLintDiagnostics :: MissingAbi ( span, abi:: Abi :: FALLBACK ) ,
678678 )
679679 }
@@ -1274,8 +1274,8 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
12741274 if mut_ident && matches ! ( ctxt, FnCtxt :: Assoc ( _) ) {
12751275 if let Some ( ident) = ident {
12761276 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 ,
12791279 } ;
12801280 let diag = BuiltinLintDiagnostics :: PatternsInFnsWithoutBody ( span, ident) ;
12811281 self . lint_buffer . buffer_lint_with_diagnostic (
You can’t perform that action at this time.
0 commit comments