blob: 6653bd15ddd2bf77a91017ed44663f7215370aca [file] [log] [blame]
// The original problem in #66340 was that `find_deprecation_generic`
// called `attr.meta().unwrap()` under the assumption that the attribute
// was a well-formed `MetaItem`.
fn main() {
foo()
}
#[deprecated(note = test)]
//~^ ERROR expected unsuffixed literal, found `test`
fn foo() {}