rust/compiler/rustc_resolve
Michael Goulet 3b68700d0c
Rollup merge of #98269 - compiler-errors:provide-more-segment-res, r=petrochenkov
Provide a `PathSegment.res` in more cases

I find that in many cases, the `res` associated with a `PathSegment` is `Res::Err` even though the path was fully resolved. A few diagnostics use this `res` and their error messages suffer because of the lack of resolved segment.

This fixes it a bit, but it's obviously not complete and I'm not exactly sure if it's correct.
2022-06-23 14:39:07 -07:00
..
src Rollup merge of #98269 - compiler-errors:provide-more-segment-res, r=petrochenkov 2022-06-23 14:39:07 -07:00
Cargo.toml Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00