@@ -2,7 +2,7 @@ error[E0428]: the name `Foo` is defined multiple times
22 --> $DIR/issue-21546.rs:17:1
33 |
4414 | mod Foo { }
5- | ----------- previous definition of the module `Foo` here
5+ | ------- previous definition of the module `Foo` here
66...
7717 | struct Foo;
88 | ^^^^^^^^^^^ `Foo` redefined here
@@ -13,7 +13,7 @@ error[E0428]: the name `Bar` is defined multiple times
1313 --> $DIR/issue-21546.rs:24:1
1414 |
151521 | mod Bar { }
16- | ----------- previous definition of the module `Bar` here
16+ | ------- previous definition of the module `Bar` here
1717...
181824 | struct Bar(i32);
1919 | ^^^^^^^^^^^^^^^^ `Bar` redefined here
@@ -27,18 +27,18 @@ error[E0428]: the name `Baz` is defined multiple times
2727 | ---------------- previous definition of the type `Baz` here
2828...
292932 | mod Baz { }
30- | ^^^^^^^^^^^ `Baz` redefined here
30+ | ^^^^^^^ `Baz` redefined here
3131 |
3232 = note: `Baz` must be defined only once in the type namespace of this module
3333
3434error[E0428]: the name `Qux` is defined multiple times
3535 --> $DIR/issue-21546.rs:40:1
3636 |
373737 | struct Qux { x: bool }
38- | ---------------------- previous definition of the type `Qux` here
38+ | ---------- previous definition of the type `Qux` here
3939...
404040 | mod Qux { }
41- | ^^^^^^^^^^^ `Qux` redefined here
41+ | ^^^^^^^ `Qux` redefined here
4242 |
4343 = note: `Qux` must be defined only once in the type namespace of this module
4444
@@ -49,18 +49,18 @@ error[E0428]: the name `Quux` is defined multiple times
4949 | ------------ previous definition of the type `Quux` here
5050...
515148 | mod Quux { }
52- | ^^^^^^^^^^^^ `Quux` redefined here
52+ | ^^^^^^^^ `Quux` redefined here
5353 |
5454 = note: `Quux` must be defined only once in the type namespace of this module
5555
5656error[E0428]: the name `Corge` is defined multiple times
5757 --> $DIR/issue-21546.rs:56:1
5858 |
595953 | enum Corge { A, B }
60- | ------------------- previous definition of the type `Corge` here
60+ | ---------- previous definition of the type `Corge` here
6161...
626256 | mod Corge { }
63- | ^^^^^^^^^^^^^ `Corge` redefined here
63+ | ^^^^^^^^^ `Corge` redefined here
6464 |
6565 = note: `Corge` must be defined only once in the type namespace of this module
6666
0 commit comments