@@ -2,7 +2,7 @@ error[E0428]: the name `Foo` is defined multiple times
2
2
--> $DIR/issue-21546.rs:17:1
3
3
|
4
4
14 | mod Foo { }
5
- | ----------- previous definition of the module `Foo` here
5
+ | ------- previous definition of the module `Foo` here
6
6
...
7
7
17 | struct Foo;
8
8
| ^^^^^^^^^^^ `Foo` redefined here
@@ -13,7 +13,7 @@ error[E0428]: the name `Bar` is defined multiple times
13
13
--> $DIR/issue-21546.rs:24:1
14
14
|
15
15
21 | mod Bar { }
16
- | ----------- previous definition of the module `Bar` here
16
+ | ------- previous definition of the module `Bar` here
17
17
...
18
18
24 | struct Bar(i32);
19
19
| ^^^^^^^^^^^^^^^^ `Bar` redefined here
@@ -27,18 +27,18 @@ error[E0428]: the name `Baz` is defined multiple times
27
27
| ---------------- previous definition of the type `Baz` here
28
28
...
29
29
32 | mod Baz { }
30
- | ^^^^^^^^^^^ `Baz` redefined here
30
+ | ^^^^^^^ `Baz` redefined here
31
31
|
32
32
= note: `Baz` must be defined only once in the type namespace of this module
33
33
34
34
error[E0428]: the name `Qux` is defined multiple times
35
35
--> $DIR/issue-21546.rs:40:1
36
36
|
37
37
37 | struct Qux { x: bool }
38
- | ---------------------- previous definition of the type `Qux` here
38
+ | ---------- previous definition of the type `Qux` here
39
39
...
40
40
40 | mod Qux { }
41
- | ^^^^^^^^^^^ `Qux` redefined here
41
+ | ^^^^^^^ `Qux` redefined here
42
42
|
43
43
= note: `Qux` must be defined only once in the type namespace of this module
44
44
@@ -49,18 +49,18 @@ error[E0428]: the name `Quux` is defined multiple times
49
49
| ------------ previous definition of the type `Quux` here
50
50
...
51
51
48 | mod Quux { }
52
- | ^^^^^^^^^^^^ `Quux` redefined here
52
+ | ^^^^^^^^ `Quux` redefined here
53
53
|
54
54
= note: `Quux` must be defined only once in the type namespace of this module
55
55
56
56
error[E0428]: the name `Corge` is defined multiple times
57
57
--> $DIR/issue-21546.rs:56:1
58
58
|
59
59
53 | enum Corge { A, B }
60
- | ------------------- previous definition of the type `Corge` here
60
+ | ---------- previous definition of the type `Corge` here
61
61
...
62
62
56 | mod Corge { }
63
- | ^^^^^^^^^^^^^ `Corge` redefined here
63
+ | ^^^^^^^^^ `Corge` redefined here
64
64
|
65
65
= note: `Corge` must be defined only once in the type namespace of this module
66
66
0 commit comments