blob: 4e46b7114c1a20675167069b97db4b0fcc7d4b16 [file] [log] [blame] [edit]
// issue: 113903
use std::ops::Deref;
pub trait Tr {
fn w() -> impl Deref<Target = Missing<impl Sized>>;
//~^ ERROR cannot find type `Missing` in this scope
}
impl Tr for () {
#[expect(refining_impl_trait)]
fn w() -> &'static () {
&()
}
}
fn main() {}