Files
rust/tests/ui/attributes
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-05-03 17:22:52 +02:00
2025-05-12 16:35:09 +02:00
2024-08-16 09:07:55 +10:00
2025-06-08 11:25:09 +05:00
2025-02-25 18:17:32 +01:00
2025-02-25 18:17:32 +01:00
2025-02-25 18:17:32 +01:00
2025-02-25 18:17:32 +01:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2025-06-20 15:06:29 +02:00
2025-06-28 16:24:17 +05:00
2025-06-29 15:37:33 +05:00
2025-06-18 12:37:08 +02:00
2025-06-18 12:37:08 +02:00
2025-01-07 16:04:14 +01:00
2025-08-11 16:05:02 +00:00