Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #151380 - ShoyuVanilla:shallow-resolve-to-root-var, r=lcnr
Shallow resolve ty and const vars to their root vars
Continuation of https://github.com/rust-lang/rust/pull/147193