blob: 75af5d9570ff2ca7a4a3676719e5f710aec82c6d [file] [log] [blame]
#![feature(existential_type)]
fn main() {}
existential type Cmp<T>: 'static;
//~^ ERROR could not find defining uses
// not a defining use, because it doesn't define *all* possible generics
fn cmp() -> Cmp<u32> { //~ ERROR defining existential type use does not fully define
5u32
}