Files
rust/tests/ui/macros/cfg_attr-expr.stderr
T
Esteban Küber b849e10d38 Make span_suggestions always verbose
`span_suggestions` is to provide mutually exclusive suggestions. When it was introduced, we made its behavior be that if a single suggestion is given to it, we present the suggestion inline, otherwise in patch format. Changing this to make all of its uses be verbose, as that is closer in intent of output.
2026-04-15 01:38:14 +00:00

20 lines
676 B
Plaintext

error: expected identifier, found metavariable
--> $DIR/cfg_attr-expr.rs:3:26
|
LL | #[cfg_attr(true, $e)]
| ^^ expected identifier, found metavariable
...
LL | foo!(inline);
| ------------ in this macro invocation
|
= note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
= note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
help: must be of the form
|
LL - #[cfg_attr(true, $e)]
LL + #[cfg_attr(predicate, attr1, attr2, ...)]
|
error: aborting due to 1 previous error