rust/compiler/rustc_resolve/src
bors ec4bcaac45 Auto merge of #92441 - cjgillot:resolve-trait-impl-item, r=matthewjasper
Link impl items to corresponding trait items in late resolver.

Hygienically linking trait impl items to declarations in the trait can be done directly by the late resolver. In fact, it is already done to diagnose unknown items.

This PR uses this resolution work and stores the `DefId` of the trait item in the HIR. This avoids having to do this resolution manually later.

r? `@matthewjasper`
Related to #90639. The added `trait_item_id` field can be moved to `ImplItemRef` to be used directly by your PR.
2022-01-15 14:43:45 +00:00
..
late Tighten span when suggesting lifetime on path 2021-12-27 23:34:52 -08:00
access_levels.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
build_reduced_graph.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
check_unused.rs suggest adding a #[cfg(test)] to test modules 2021-12-16 11:48:58 +09:00
def_collector.rs ast: Always keep a NodeId in ast::Crate 2022-01-05 17:09:37 +08:00
diagnostics.rs Simplify error reporting. 2022-01-08 20:45:59 +01:00
imports.rs Compute most of Public/Exported access level in rustc_resolve 2022-01-09 21:33:14 +00:00
late.rs Auto merge of #92441 - cjgillot:resolve-trait-impl-item, r=matthewjasper 2022-01-15 14:43:45 +00:00
lib.rs Auto merge of #92441 - cjgillot:resolve-trait-impl-item, r=matthewjasper 2022-01-15 14:43:45 +00:00
macros.rs Remove unnecessary sigils around Ident::as_str() calls. 2021-12-15 17:32:42 +11:00