许杰友 Jieyou Xu (Joe)
08c77a6eb4
Add infrastructure #[rustc_confusables]
attribute to allow targeted
...
"no method" errors on standard library types
The standard library developer can annotate methods on e.g.
`BTreeSet::push` with `#[rustc_confusables("insert")]`. When the user
mistypes `btreeset.push()`, `BTreeSet::insert` will be suggested if
there are no other candidates to suggest.
2023-07-16 19:22:03 +08:00
..
2023-07-14 17:48:13 -04:00
2023-07-16 19:22:03 +08:00
2023-07-14 19:33:26 +02:00
2023-07-15 15:39:53 +00:00
2023-07-14 13:27:35 +01:00
2023-07-16 01:56:23 +00:00
2023-07-15 15:39:53 +00:00
2023-07-14 13:27:35 +01:00
2023-07-14 10:10:15 +02:00
2023-07-16 19:22:03 +08:00
2023-07-14 19:33:29 +02:00
2023-07-16 19:22:03 +08:00
2023-07-14 13:27:35 +01:00
2023-07-15 22:23:05 +00:00
2023-07-14 13:27:35 +01:00
2023-07-16 01:56:23 +00:00
2023-07-14 19:33:29 +02:00
2023-07-15 15:39:53 +00:00
2023-07-15 11:59:38 -04:00
2023-07-14 13:27:35 +01:00
2023-07-14 17:32:59 +00:00
2023-07-14 13:27:35 +01:00
2023-07-16 19:22:03 +08:00
2023-07-14 13:27:35 +01:00
2023-07-14 13:27:35 +01:00
2023-07-14 12:09:27 +00:00
2023-07-16 19:22:03 +08:00
2023-07-14 13:27:35 +01:00
2023-07-14 17:48:13 -04:00
2023-07-15 19:42:51 +02:00
2023-07-14 13:27:35 +01:00
2023-07-14 13:27:35 +01:00
2023-07-15 15:39:53 +00:00
2023-07-14 13:27:35 +01:00