Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dac1676

Browse files
committed
Auto merge of rust-lang#2413 - RalfJung:norm, r=RalfJung
normalize stronger rustc CI has the cargo stuff in `/cargo/...`, so we also need to handle that path.
2 parents 5a65595 + e3018b8 commit dac1676

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/compiletest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ regexes! {
133133
// erase platform file paths
134134
"sys/[a-z]+/" => "sys/PLATFORM/",
135135
// erase paths into the crate registry
136-
r"[^ ]*/\.cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/$1",
136+
r"[^ ]*/\.?cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/.../$1",
137137
}
138138

139139
fn ui(mode: Mode, path: &str) -> Result<()> {

tests/fail/crates/tokio_mvp.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: unsupported operation: can't call foreign function: epoll_create1
2-
--> CARGO_REGISTRY/epoll.rs:LL:CC
2+
--> CARGO_REGISTRY/.../epoll.rs:LL:CC
33
|
44
LL | syscall!(epoll_create1(flag)).map(|ep| Selector {
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't call foreign function: epoll_create1

0 commit comments

Comments
 (0)