1 error[E0659]: `Foo` is ambiguous (name vs any other name during import resolution)
2 --> $DIR/block-scoped-shadow.rs:11:9
7 note: `Foo` could refer to the enum defined here
8 --> $DIR/block-scoped-shadow.rs:10:5
10 LL | enum Foo { A, B }
12 note: `Foo` could also refer to the enum defined here
13 --> $DIR/block-scoped-shadow.rs:5:1
17 = help: use `crate::Foo` to refer to this enum unambiguously
19 error[E0659]: `std` is ambiguous (name vs any other name during import resolution)
20 --> $DIR/block-scoped-shadow.rs:18:9
25 note: `std` could refer to the enum defined here
26 --> $DIR/block-scoped-shadow.rs:17:5
30 note: `std` could also refer to the struct defined here
31 --> $DIR/block-scoped-shadow.rs:7:1
35 = help: use `crate::std` to refer to this struct unambiguously
37 error[E0659]: `std` is ambiguous (name vs any other name during import resolution)
38 --> $DIR/block-scoped-shadow.rs:18:9
43 note: `std` could refer to the function defined here
44 --> $DIR/block-scoped-shadow.rs:16:5
48 note: `std` could also refer to the unit struct defined here
49 --> $DIR/block-scoped-shadow.rs:7:1
53 = help: use `crate::std` to refer to this unit struct unambiguously
55 error: aborting due to 3 previous errors
57 For more information about this error, try `rustc --explain E0659`.