Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 5996010

Browse files
committed
Fix test output (presentation only).
1 parent 607af5d commit 5996010

File tree

3 files changed

+56
-59
lines changed

3 files changed

+56
-59
lines changed

tests/cases/addition_path/stdout

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
version bump: 1.0.0 -> (technically breaking) -> 1.1.0
22
warning: path changes to `Abc`
3-
--> addition_path/new.rs:2:5
4-
|
5-
2 | pub struct Abc;
6-
| ^^^^^^^^^^^^^^^
7-
|
3+
--> addition_path/new.rs:2:5
4+
|
5+
2 | pub struct Abc;
6+
| ^^^^^^^^^^^^^^^
7+
|
88
note: added path (technically breaking)
9-
--> addition_path/new.rs:6:13
10-
|
11-
6 | pub use a::*;
12-
| ^^^^
9+
--> addition_path/new.rs:6:13
10+
|
11+
6 | pub use a::*;
12+
| ^^^^
1313
note: added path (technically breaking)
14-
--> addition_path/new.rs:10:13
15-
|
16-
10| pub use a::Abc;
17-
| ^^^^^^
14+
--> addition_path/new.rs:10:13
15+
|
16+
10 | pub use a::Abc;
17+
| ^^^^^^
1818
note: added path (technically breaking)
19-
--> addition_path/new.rs:13:9
20-
|
21-
13| pub use self::a::Abc;
22-
| ^^^^^^^^^^^^
19+
--> addition_path/new.rs:13:9
20+
|
21+
13 | pub use self::a::Abc;
22+
| ^^^^^^^^^^^^
2323

2424
warning: path changes to `d`
2525
--> addition_path/new.rs:15:1
@@ -30,4 +30,3 @@ warning: path changes to `d`
3030
| |_^
3131
|
3232
= note: added definition (technically breaking)
33-

tests/cases/mix/stdout

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,32 @@ error: breaking changes in `Def`
1616
= warning: item kind changed (breaking)
1717

1818
error: path changes to `Abc`
19-
--> mix/new.rs:2:5
20-
|
21-
2 | pub enum Abc {}
22-
| ^^^^^^^^^^^^^^^
23-
|
19+
--> mix/new.rs:2:5
20+
|
21+
2 | pub enum Abc {}
22+
| ^^^^^^^^^^^^^^^
23+
|
2424
warning: removed path (breaking)
25-
--> mix/old.rs:10:9
26-
|
27-
10| pub use self::a::Abc;
28-
| ^^^^^^^^^^^^
25+
--> mix/old.rs:10:9
26+
|
27+
10 | pub use self::a::Abc;
28+
| ^^^^^^^^^^^^
2929
note: added path (technically breaking)
30-
--> mix/new.rs:7:13
31-
|
32-
7 | pub use a::Abc;
33-
| ^^^^^^
30+
--> mix/new.rs:7:13
31+
|
32+
7 | pub use a::Abc;
33+
| ^^^^^^
3434

3535
warning: path changes to `Def`
36-
--> mix/new.rs:3:5
37-
|
38-
3 | pub struct Def;
39-
| ^^^^^^^^^^^^^^^
40-
|
36+
--> mix/new.rs:3:5
37+
|
38+
3 | pub struct Def;
39+
| ^^^^^^^^^^^^^^^
40+
|
4141
note: added path (technically breaking)
42-
--> mix/new.rs:10:9
43-
|
44-
10| pub use self::a::Def;
45-
| ^^^^^^^^^^^^
42+
--> mix/new.rs:10:9
43+
|
44+
10 | pub use self::a::Def;
45+
| ^^^^^^^^^^^^
4646

4747
error: aborting due to 3 previous errors
48-

tests/cases/removal_path/stdout

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
version bump: 1.0.0 -> (breaking) -> 2.0.0
22
error: path changes to `Abc`
3-
--> removal_path/new.rs:2:5
4-
|
5-
2 | pub struct Abc;
6-
| ^^^^^^^^^^^^^^^
7-
|
3+
--> removal_path/new.rs:2:5
4+
|
5+
2 | pub struct Abc;
6+
| ^^^^^^^^^^^^^^^
7+
|
88
warning: removed path (breaking)
9-
--> removal_path/old.rs:6:13
10-
|
11-
6 | pub use a::*;
12-
| ^^^^
9+
--> removal_path/old.rs:6:13
10+
|
11+
6 | pub use a::*;
12+
| ^^^^
1313
warning: removed path (breaking)
14-
--> removal_path/old.rs:10:13
15-
|
16-
10| pub use a::Abc;
17-
| ^^^^^^
14+
--> removal_path/old.rs:10:13
15+
|
16+
10 | pub use a::Abc;
17+
| ^^^^^^
1818
warning: removed path (breaking)
19-
--> removal_path/old.rs:13:9
20-
|
21-
13| pub use self::a::Abc;
22-
| ^^^^^^^^^^^^
19+
--> removal_path/old.rs:13:9
20+
|
21+
13 | pub use self::a::Abc;
22+
| ^^^^^^^^^^^^
2323

2424
error: aborting due to previous error
25-

0 commit comments

Comments
 (0)