about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2024-12-15 20:01:39 +1100
committerGitHub <noreply@github.com>2024-12-15 20:01:39 +1100
commit81378c82587d688223b87602c17d733aa823459a (patch)
treefccf469f718e3c39cb521717ec6b8c05cdec0b7a /compiler/rustc_codegen_llvm/src
parentb9741879509e2ca0c10477f01b07b997e6cbd8e0 (diff)
parentca055ee7db17fbeccb2893db8f24440a25afff44 (diff)
downloadrust-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