We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96cfc75 commit d58c42bCopy full SHA for d58c42b
src/tools/miri/tests/ui.rs
@@ -270,13 +270,15 @@ regexes! {
270
// erase thread caller ids
271
r"call [0-9]+" => "call ID",
272
// erase platform module paths
273
- "sys::pal::[a-z]+::" => "sys::pal::PLATFORM::",
+ r"\bsys::pal::[a-z]+::" => "sys::pal::PLATFORM::",
274
+ r"\bsys::([a-z_]+)::[a-z]+::" => "sys::$1::PLATFORM::",
275
// Windows file paths
276
r"\\" => "/",
277
// erase Rust stdlib path
278
"[^ \n`]*/(rust[^/]*|checkout)/library/" => "RUSTLIB/",
279
// erase platform file paths
- "sys/pal/[a-z]+/" => "sys/pal/PLATFORM/",
280
+ r"\bsys/pal/[a-z]+/" => "sys/pal/PLATFORM/",
281
+ r"\bsys/([a-z_]+)/[a-z]+\b" => "sys/$1/PLATFORM",
282
// erase paths into the crate registry
283
r"[^ ]*/\.?cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/.../$1",
284
}
0 commit comments