forked from rust-lang/rust-semverver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test breakage after rust-lang/rust#72121
See rust-lang/rust#72121. The PR fixes some hygiene issues and thus exposes that the originating expression comes from macros.
- Loading branch information
Showing
2 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,32 @@ | ||
version bump: 1.0.0 -> (technically breaking) -> 1.1.0 | ||
warning: path changes to `a` | ||
--> pathologic_paths/new.rs:5:9 | ||
| | ||
5 | pub mod a { blow!($($rest)*); } | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: added definition (technically breaking) | ||
--> pathologic_paths/new.rs:10:1 | ||
| | ||
10 | / blow!(_ _ _ _ _ _ _ _ | ||
11 | | _ _ _ _ _ _ _ _ | ||
12 | | _ _ _ _ _ _ _ _ | ||
13 | | _ _ _ _ _ _ _ _ | ||
... | | ||
16 | | _ _ _ _ _ _ _ _ | ||
17 | | _ _ _ _ _ _ _ _); | ||
| |_______________________^ | ||
| | ||
= note: added definition (technically breaking) | ||
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
warning: path changes to `b` | ||
--> pathologic_paths/new.rs:6:9 | ||
| | ||
6 | pub mod b { pub use super::a::*; } | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: added definition (technically breaking) | ||
|
||
warning: 2 warnings emitted | ||
--> pathologic_paths/new.rs:10:1 | ||
| | ||
10 | / blow!(_ _ _ _ _ _ _ _ | ||
11 | | _ _ _ _ _ _ _ _ | ||
12 | | _ _ _ _ _ _ _ _ | ||
13 | | _ _ _ _ _ _ _ _ | ||
... | | ||
16 | | _ _ _ _ _ _ _ _ | ||
17 | | _ _ _ _ _ _ _ _); | ||
| |_______________________^ | ||
| | ||
= note: added definition (technically breaking) | ||
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
warning: 2 warnings emitted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters