Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 186 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#[deny(warnings)]
enum Empty { }
trait Bar<T> {}
impl Bar<Empty> for () {}
fn boo() -> impl Bar<Empty> {}
fn main() {
boo();
}
You can’t perform that action at this time.