https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124464

--- Comment #3 from Pierre-Emmanuel Patry <pierre-emmanuel.patry at embecosm 
dot com> ---
(In reply to David Malcolm from comment #1)
> I'm finding it hard to grok the "XXX" and "YYY".  Do you have a concrete
> example for your use-case?  (i.e. a specific error message, and what the
> output for it currently looks like)

Here is the complete output:

./gcc/crab1 test.rs -frust-crate-attr="(option1" -frust-crate-attr="option2("
-frust-crate-attr="option3("

cli:1:1: error: empty simple path in attribute
cli:1:9: error: unexpected token ‘end of file’ - expecting closing delimiter
‘)’ (for a delimited token tree)
cli:1:9: error: unexpected token ‘end of file’ - expecting closing delimiter
‘)’ (for a delimited token tree)

Note that for errors originating from the command line, the rust frontend uses
the filename "cli" to make it more obvious the error comes from the cli, this
information does not come from the diagnostic part.

Reply via email to