blob: 7156de1a969b9f0c517917c3b7b4dd002c275ed8 [file]
#![feature(no_core)]
#![no_core]
#![feature(lang_items)]
#[lang = "sized"]
trait Sized {}
pub struct A<T>(T);
pub trait B {
type C;
}
// ------
// swap these two items
impl B for i32 {
type C = Weird<i32>;
}
pub struct Weird<T>(A<(T,)>);
// ------
trait Foo {}
impl Foo for Weird<i32> {}
fn main() {}