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 Match unmatched backticks in compiler/ that are part of rustdoc 2023-03-03 08:39:00 +01:00
check_attr.rs Add infrastructure #[rustc_confusables] attribute to allow targeted 2023-07-16 19:22:03 +08:00
check_const.rs Separate AnonConst from ConstBlock in HIR. 2023-06-02 21:25:18 +00:00
dead.rs Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorino 2023-07-14 19:33:29 +02:00
debugger_visualizer.rs Don't sort output of debugger_visualizer query because it already is in deterministic order. 2023-05-17 16:02:22 +02:00
diagnostic_items.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
entry.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
errors.rs Add infrastructure #[rustc_confusables] attribute to allow targeted 2023-07-16 19:22:03 +08:00
hir_id_validator.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
hir_stats.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
lang_items.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
layout_test.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
lib_features.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
lib.rs Turn debugger_visualizers from feed- into regular query. 2023-05-16 18:50:36 +02:00
liveness.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
loops.rs Separate AnonConst from ConstBlock in HIR. 2023-06-02 21:25:18 +00:00
naked_functions.rs hir: Add Become expression kind 2023-06-26 08:56:32 +00:00
reachable.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
stability.rs Re-format let-else per rustfmt update 2023-07-12 21:49:27 -04:00
upvars.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
weak_lang_items.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00