1 // normalize-stderr-test "loaded from .*libcore-.*.rlib" -> "loaded from SYSROOT/libcore-*.rlib"
3 #![feature(lang_items)]
5 trait Sized { } //~ ERROR found duplicate lang item `sized`
7 fn ref_Struct(self: &Struct, f: &u32) -> &u32 {
8 //~^ ERROR `self` parameter is only allowed in associated functions
9 //~| ERROR cannot find type `Struct` in this scope
11 //~^ ERROR cannot find value `x` in this scope