Files
rust/tests/ui/parser
Stuart Cook d862ae2fce Rollup merge of #145238 - estebank:attr-overhaul, r=jdonszelmann
Tweak invalid builtin attribute output

 - Add link to reference/docs when possible
 - More accurate suggestions by supporting multiple alternative suggestions

```
error: malformed `crate_type` attribute input
  --> $DIR/crate-type-macro-call.rs:1:1
   |
LL | #![crate_type = foo!()]
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: for more information, visit <https://doc.rust-lang.org/reference/linkage.html>
help: the following are the possible correct uses
   |
LL - #![crate_type = foo!()]
LL + #![crate_type = "bin"]
   |
LL - #![crate_type = foo!()]
LL + #![crate_type = "cdylib"]
   |
LL - #![crate_type = foo!()]
LL + #![crate_type = "dylib"]
   |
LL - #![crate_type = foo!()]
LL + #![crate_type = "lib"]
   |
   = and 4 other candidates
```
2025-08-12 20:37:53 +10:00
..
2025-04-03 21:41:58 +00:00
2025-04-03 21:41:58 +00:00
2025-07-05 00:45:24 +05:00
2024-12-10 11:34:13 +08:00
2023-05-05 21:44:48 +02:00
2023-05-05 21:44:48 +02:00
2025-07-25 20:38:54 +05:00
2024-11-16 20:03:31 +00:00
2025-07-31 21:25:49 +05:00
2023-05-05 11:17:14 -04:00
2024-10-11 11:30:08 -04:00
2025-08-09 16:27:20 +05:00
2024-11-29 06:10:15 +11:00
2024-04-21 15:43:43 -03:00
2024-04-21 15:43:43 -03:00
2024-04-21 15:43:43 -03:00
2024-04-21 15:43:43 -03:00
2025-01-07 16:04:14 +01:00
2025-01-07 16:04:14 +01:00
2023-10-04 01:35:07 +00:00
2023-10-04 01:35:07 +00:00
2025-07-01 15:29:29 +05:00
2025-04-25 17:02:59 +05:00
2024-11-24 19:42:33 +01:00
2024-11-24 19:42:33 +01:00
2024-09-21 20:07:52 +03:00
2023-01-19 02:25:55 +00:00