mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
382 B
Text
13 lines
382 B
Text
error: expected unsuffixed literal, found `test`
|
|
--> $DIR/issue-66340-deprecated-attr-non-meta-grammar.rs:9:21
|
|
|
|
|
LL | #[deprecated(note = test)]
|
|
| ^^^^
|
|
|
|
|
help: surround the identifier with quotation marks to make it into a string literal
|
|
|
|
|
LL | #[deprecated(note = "test")]
|
|
| + +
|
|
|
|
error: aborting due to 1 previous error
|
|
|