Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 314 Bytes
// build-pass (FIXME(62277): could be check-pass?)
trait Bar {}
struct Dummy;
impl Bar for Dummy {}
trait Foo {
type Assoc: Bar;
fn foo() -> Self::Assoc;
impl Foo for i32 {
type Assoc = impl Bar;
fn foo() -> Self::Assoc {
fn main() {}
You can’t perform that action at this time.