Similar #14055
trait Trait {}
impl Trait for T {}
fn foo() -> impl Trait {
&raw const ()
}
Hover on impl outputs:
impl Trait + Unpin + UnwindSafe + RefUnwindSafe
impl Trait = *const ()
---
impl
---
keyword docs...
Maybe we can use inlayHints, but there are too many auto traits
Complex cases that should be implemented:
async foo() -> Result<(impl ToString, impl Fn()), impl Error> { /*...*/ }
Similar #14055
Hover on
imploutputs:Maybe we can use inlayHints, but there are too many auto traits
Complex cases that should be implemented: