diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2024-12-15 20:01:39 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-15 20:01:39 +1100 |
| commit | 81378c82587d688223b87602c17d733aa823459a (patch) | |
| tree | fccf469f718e3c39cb521717ec6b8c05cdec0b7a /compiler/rustc_codegen_llvm/src | |
| parent | b9741879509e2ca0c10477f01b07b997e6cbd8e0 (diff) | |
| parent | ca055ee7db17fbeccb2893db8f24440a25afff44 (diff) | |
| download | rust-81378c82587d688223b87602c17d733aa823459a.tar.gz rust-81378c82587d688223b87602c17d733aa823459a.zip | |
Rollup merge of #134313 - compiler-errors:no-itib-def-id, r=oli-obk
Don't make a def id for `impl_trait_in_bindings`
The def collector is awkward, so for now just wrap let statements in a new `ImplTraitContext::InBinding` which tells `visit_ty` not to make a def id for the type. This will not generalize to other ITIB cases, like if we allow them in turbofishes (e.g. `foo::<impl Fn()>(|| {})`).
Fixes #134307
r? oli-obk
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
