Closed
Description
https://play.rust-lang.org/?gist=a827cb4bc9dd29324227e3ac676dd47a&version=nightly
#![crate_type = "rlib"]
#![feature(conservative_impl_trait)]
struct Bar {}
trait Foo<T = Self> {}
impl Foo for Bar {}
fn foo() -> impl Foo {
Bar {}
}