rust/library/proc_macro/src
Esteban Küber e5b3c7ef14 Add rustc_confusables annotations to some stdlib APIs
Help with common API confusion, like asking for `push` when the data structure really has `append`.

```
error[E0599]: no method named `size` found for struct `Vec<{integer}>` in the current scope
  --> $DIR/rustc_confusables_std_cases.rs:17:7
   |
LL |     x.size();
   |       ^^^^
   |
help: you might have meant to use `len`
   |
LL |     x.len();
   |       ~~~
help: there is a method with a similar name
   |
LL |     x.resize();
   |       ~~~~~~
```

#59450
2024-02-22 18:04:55 +00:00
..
bridge Add rustc_confusables annotations to some stdlib APIs 2024-02-22 18:04:55 +00:00
diagnostic.rs proc_macro/bridge: send diagnostics over the bridge as a struct 2022-08-06 15:49:43 -04:00
lib.rs Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnay 2024-02-16 07:46:31 +00:00
quote.rs Remove unused macro rules 2022-04-18 23:28:06 +02:00