// issue: 113903 #![feature(return_position_impl_trait_in_trait)] use std::ops::Deref; pub trait Tr { fn w() -> impl Deref>; //~^ ERROR cannot find type `Missing` in this scope } impl Tr for () { #[allow(refining_impl_trait)] fn w() -> &'static () { &() } } fn main() {}