Files
rust/tests
Stuart Cook 81378c8258 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
2024-12-15 20:01:39 +11:00
..
2024-12-06 16:42:09 -05:00
2024-12-13 00:04:56 +00:00
2024-12-14 17:07:20 +08:00
2024-12-04 23:03:44 +01:00
2024-12-13 00:04:56 +00:00
2024-12-05 22:50:21 +01:00