rust/compiler/rustc_passes/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
..
liveness
check_attr.rs Add infrastructure #[rustc_confusables] attribute to allow targeted 2023-07-16 19:22:03 +08:00
check_const.rs
dead.rs Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorino 2023-07-14 19:33:29 +02:00
debugger_visualizer.rs
diagnostic_items.rs
entry.rs
errors.rs Add infrastructure #[rustc_confusables] attribute to allow targeted 2023-07-16 19:22:03 +08:00
hir_id_validator.rs
hir_stats.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
lang_items.rs
layout_test.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
lib_features.rs
lib.rs
liveness.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
loops.rs
naked_functions.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
reachable.rs
stability.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
upvars.rs
weak_lang_items.rs