diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-03 12:44:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 12:44:34 +0200 |
| commit | a1a23debd614b14ffdc41b4dcbb4cc4712b473f5 (patch) | |
| tree | 76dc3ee4be99d7dcfcedb41141f711d579273f08 /compiler/rustc_interface/src | |
| parent | 5fe04cbebd593c6530a21cd7bd0e8e9503b1ffe4 (diff) | |
| parent | 3eee3dad5c8aa36a88d6ed2e927c53f2ba174819 (diff) | |
| download | rust-a1a23debd614b14ffdc41b4dcbb4cc4712b473f5.tar.gz rust-a1a23debd614b14ffdc41b4dcbb4cc4712b473f5.zip | |
Rollup merge of #138712 - petrochenkov:impasst, r=fmease
resolve: Support imports of associated types and glob imports from traits Follow up to https://github.com/rust-lang/rust/pull/134754, part of https://github.com/rust-lang/rust/issues/134691. This PR also closes https://github.com/rust-lang/rust/issues/138711 now. Prohibiting `use Trait::AssocType;` at name resolution stage doesn't make sense, the name itself is perfectly resolveable. It's a type checker's problem that the necessary generic args are not passed when the imported `AssocType` is used, so an error should be reported there. And since we can import associated trait items now, glob imports from traits can also be allowed.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
