impl_trait_in_fn_trait_return breaks with ref params #103967
Labels
C-bug
Category: This is a bug.
F-impl_trait_in_fn_trait_return
`#![feature(impl_trait_in_fn_trait_return)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried the new
impl_trait_in_fn_trait_return
feature tracked at #99697I expected to see this happen:
The code should compile.
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: