blob: 75af015c9feeed482f5e77276620272d60b9386c [file] [log] [blame]
// compile-flags: -Zdeduplicate-diagnostics=yes
// run-rustfix
fn main() {
#[cfg(key=foo)]
//~^ ERROR expected unsuffixed literal, found `foo`
//~| HELP surround the identifier with quotation marks to parse it as a string
println!();
#[cfg(key="bar")]
println!();
#[cfg(key=foo bar baz)]
//~^ ERROR expected unsuffixed literal, found `foo`
//~| HELP surround the identifier with quotation marks to parse it as a string
println!();
}