public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Arthur Cohen <cohenarthur@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9109] gccrs: expand: Fix formatting for "macro not found" error Date: Wed, 21 Feb 2024 12:51:47 +0000 (GMT) [thread overview] Message-ID: <20240221125147.45F07385840A@sourceware.org> (raw) https://gcc.gnu.org/g:f8dad5a80cdd0827443f1e164b5afa469e0d6d2e commit r14-9109-gf8dad5a80cdd0827443f1e164b5afa469e0d6d2e Author: Arthur Cohen <arthur.cohen@embecosm.com> Date: Tue Feb 6 17:26:23 2024 +0100 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. Diff: --- gcc/rust/expand/rust-macro-expand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/rust/expand/rust-macro-expand.h b/gcc/rust/expand/rust-macro-expand.h index f18e8e24a1d3..896cdc6dcc8d 100644 --- a/gcc/rust/expand/rust-macro-expand.h +++ b/gcc/rust/expand/rust-macro-expand.h @@ -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 (); }
reply other threads:[~2024-02-21 12:51 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20240221125147.45F07385840A@sourceware.org \ --to=cohenarthur@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).