blob: 5bda5f0fceaaa6dba9dd7e78fa2e554ee3d2ebb2 [file] [log] [blame]
#![feature(type_alias_impl_trait)]
fn main() {}
mod boo {
// declared in module but not defined inside of it
pub type Boo = impl ::std::fmt::Debug; //~ ERROR unconstrained opaque type
}
fn bomp() -> boo::Boo {
""
//~^ mismatched types
}