Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
finalchild committed Jan 25, 2023
1 parent facf6ac commit 8575873
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 83 deletions.
6 changes: 3 additions & 3 deletions compiler/rustc_ast_passes/src/ast_validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ impl<'a> AstValidator<'a> {
MISSING_ABI,
id,
span,
fluent::ast_passes::deprecated_extern_missing_abi,
fluent::ast_passes_deprecated_extern_missing_abi,
BuiltinLintDiagnostics::MissingAbi(span, abi::Abi::FALLBACK),
)
}
Expand Down Expand Up @@ -1274,8 +1274,8 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
if mut_ident && matches!(ctxt, FnCtxt::Assoc(_)) {
if let Some(ident) = ident {
let msg = match ctxt {
FnCtxt::Foreign => fluent::ast_passes::patterns_in_foreign_fns,
_ => fluent::ast_passes::patterns_in_fns_without_body,
FnCtxt::Foreign => fluent::ast_passes_patterns_in_foreign_fns,
_ => fluent::ast_passes_patterns_in_fns_without_body,
};
let diag = BuiltinLintDiagnostics::PatternsInFnsWithoutBody(span, ident);
self.lint_buffer.buffer_lint_with_diagnostic(
Expand Down
Loading

0 comments on commit 8575873

Please sign in to comment.