Tracking issue for `impl Trait` in `const` and `static` items and `let` bindings
Centril opened this issue ยท 4 comments
Centril commented
As provided for by rust-lang/rfcs#2071, this is a tracking issue for impl Trait
in:
const
itemsstatic
itemslet
bindings
Steps:
- Implement the RFC
- There are bugs...
- Adjust documentation (see instructions on rustc-guide)
- Stabilization PR (see instructions on rustc-guide)
Unresolved questions:
- Should the part about
let
bindings be recast more generally to be about coercions? This would allowfoo as impl Debug
andfoo: impl Debug
as well.
Blocking issues:
Incomplete. Search the F-impl_trait_in_bindings
issue.
Rua commented
What's the status on this now? Is it ready to be stabilised?
QuineDot commented
The implementation was removed as part of #86729 and the corresponding checkbox should be unchecked.
NobodyXu commented
Pinging, is there any progress on this feature?
ctrlcctrlv commented
Hopefully there will be soon, as it was the cleanest way for me to solve an issue just now.