Files
rust/compiler
Matthias Krüger c67006e139 Rollup merge of #156797 - ariagivens:suggest-quotes, r=JonathanBrouwer
Suggest adding quotation marks to identifiers in attributes

When the user provides an identifier when a literal was expected in an attribute value, suggest adding quotation marks to the identifier to make it a string literal.

For instance:
```
error: attribute value must be a literal
  --> $DIR/crate-type-non-crate.rs:9:16
   |
LL | #[crate_type = lib]
   |                ^^^ help: try adding quotation marks: `"lib"`
```
2026-05-28 07:53:36 +02:00
..
2026-05-04 16:28:58 +00:00
2026-05-20 11:44:04 +02:00
2026-05-04 16:28:58 +00:00
2026-05-22 19:40:22 +09:00
2026-05-18 10:41:15 +03:00
2026-05-11 21:32:42 +02:00
2026-05-26 21:35:25 +08:00
2026-05-22 12:36:19 +03:00
2026-05-12 21:58:50 +02:00
2026-04-08 21:09:07 +02:00