We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96cfc75 commit b522d03Copy full SHA for b522d03
src/tools/miri/tests/ui.rs
@@ -270,13 +270,13 @@ 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::([a-z_]+)::[a-z]+::" => "sys::$1::PLATFORM::",
274
// Windows file paths
275
r"\\" => "/",
276
// erase Rust stdlib path
277
"[^ \n`]*/(rust[^/]*|checkout)/library/" => "RUSTLIB/",
278
// erase platform file paths
279
- "sys/pal/[a-z]+/" => "sys/pal/PLATFORM/",
+ r"\bsys/([a-z_]+)/[a-z]+\b" => "sys/$1/PLATFORM",
280
// erase paths into the crate registry
281
r"[^ ]*/\.?cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/.../$1",
282
}
0 commit comments