1 2 3 4 5 6 7 8 9 10 11 12
// { dg-additional-options "-w" } struct foo; fn bar() -> self::foo { crate::foo } fn baz() { let a: foo = self::bar(); crate::bar(); }