gccrs: expand: Fix formatting for "macro not found" error
gcc/rust/ChangeLog: * expand/rust-macro-expand.h (struct MacroExpander): Nitpick: fix formatting of emitted error.
This commit is contained in:
parent
17a7fd17b7
commit
f8dad5a80c
1 changed files with 3 additions and 3 deletions
|
@ -414,7 +414,7 @@ struct MacroExpander
|
|||
= mappings->lookup_derive_proc_macro_invocation (path);
|
||||
if (!macro.has_value ())
|
||||
{
|
||||
rust_error_at (path.get_locus (), "Macro not found");
|
||||
rust_error_at (path.get_locus (), "macro not found");
|
||||
return AST::Fragment::create_error ();
|
||||
}
|
||||
|
||||
|
@ -437,7 +437,7 @@ struct MacroExpander
|
|||
= mappings->lookup_bang_proc_macro_invocation (invocation);
|
||||
if (!macro.has_value ())
|
||||
{
|
||||
rust_error_at (invocation.get_locus (), "Macro not found");
|
||||
rust_error_at (invocation.get_locus (), "macro not found");
|
||||
return AST::Fragment::create_error ();
|
||||
}
|
||||
|
||||
|
@ -459,7 +459,7 @@ struct MacroExpander
|
|||
= mappings->lookup_attribute_proc_macro_invocation (path);
|
||||
if (!macro.has_value ())
|
||||
{
|
||||
rust_error_at (path.get_locus (), "Macro not found");
|
||||
rust_error_at (path.get_locus (), "macro not found");
|
||||
return AST::Fragment::create_error ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue