rust/compiler/rustc_feature/src
许杰友 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
..
accepted.rs Swap out CURRENT_RUSTC_VERSION to 1.71.0 2023-05-30 07:54:29 -04:00
active.rs Replace version placeholder to 1.72 2023-07-12 21:24:05 -04:00
builtin_attrs.rs Add infrastructure #[rustc_confusables] attribute to allow targeted 2023-07-16 19:22:03 +08:00
lib.rs Use is_some_and/is_ok_and in less obvious spots 2023-05-24 14:33:43 +00:00
removed.rs Remove const eval limit and implement an exponential backoff lint instead 2023-05-31 10:24:17 +00:00
tests.rs tidy: Re-enable check for inline unit tests 2020-12-12 19:18:44 +03:00