]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-21546.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-21546.stderr
CommitLineData
ff7c6d11 1error[E0428]: the name `Foo` is defined multiple times
0731742a 2 --> $DIR/issue-21546.rs:7:1
ff7c6d11 3 |
0531ce1d 4LL | mod Foo { }
ff7c6d11
XL
5 | ------- previous definition of the module `Foo` here
6...
0531ce1d 7LL | struct Foo;
ff7c6d11
XL
8 | ^^^^^^^^^^^ `Foo` redefined here
9 |
10 = note: `Foo` must be defined only once in the type namespace of this module
11
12error[E0428]: the name `Bar` is defined multiple times
0731742a 13 --> $DIR/issue-21546.rs:14:1
ff7c6d11 14 |
0531ce1d 15LL | mod Bar { }
ff7c6d11
XL
16 | ------- previous definition of the module `Bar` here
17...
0531ce1d 18LL | struct Bar(i32);
ff7c6d11
XL
19 | ^^^^^^^^^^^^^^^^ `Bar` redefined here
20 |
21 = note: `Bar` must be defined only once in the type namespace of this module
22
23error[E0428]: the name `Baz` is defined multiple times
0731742a 24 --> $DIR/issue-21546.rs:22:1
ff7c6d11 25 |
0531ce1d 26LL | struct Baz(i32);
ff7c6d11
XL
27 | ---------------- previous definition of the type `Baz` here
28...
0531ce1d 29LL | mod Baz { }
ff7c6d11
XL
30 | ^^^^^^^ `Baz` redefined here
31 |
32 = note: `Baz` must be defined only once in the type namespace of this module
33
34error[E0428]: the name `Qux` is defined multiple times
0731742a 35 --> $DIR/issue-21546.rs:30:1
ff7c6d11 36 |
0531ce1d 37LL | struct Qux { x: bool }
ff7c6d11
XL
38 | ---------- previous definition of the type `Qux` here
39...
0531ce1d 40LL | mod Qux { }
ff7c6d11
XL
41 | ^^^^^^^ `Qux` redefined here
42 |
43 = note: `Qux` must be defined only once in the type namespace of this module
44
45error[E0428]: the name `Quux` is defined multiple times
0731742a 46 --> $DIR/issue-21546.rs:38:1
ff7c6d11 47 |
0531ce1d 48LL | struct Quux;
ff7c6d11
XL
49 | ------------ previous definition of the type `Quux` here
50...
0531ce1d 51LL | mod Quux { }
ff7c6d11
XL
52 | ^^^^^^^^ `Quux` redefined here
53 |
54 = note: `Quux` must be defined only once in the type namespace of this module
55
56error[E0428]: the name `Corge` is defined multiple times
0731742a 57 --> $DIR/issue-21546.rs:46:1
ff7c6d11 58 |
0531ce1d 59LL | enum Corge { A, B }
ff7c6d11
XL
60 | ---------- previous definition of the type `Corge` here
61...
0531ce1d 62LL | mod Corge { }
ff7c6d11
XL
63 | ^^^^^^^^^ `Corge` redefined here
64 |
65 = note: `Corge` must be defined only once in the type namespace of this module
66
67error: aborting due to 6 previous errors
68
0531ce1d 69For more information about this error, try `rustc --explain E0428`.