Skip to content

Commit 2a26add

Browse files
authored
Disentangle from rustc-demangle fix
1 parent 511d292 commit 2a26add

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

tests/ui/splat/splat-mangling.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
//@ build-fail
77

88
// CRATE_HASH normalization doesn't seem to work on some of these symbol logs
9-
//@ normalize-stderr: "splat_mangling\[([0-9a-f]{16})\]::" -> "splat_mangling[CRATE_HASH]::"
10-
//@ normalize-stderr: "alloc\[([0-9a-f]{16})\]::" -> "alloc[CRATE_HASH]::"
11-
//@ normalize-stderr: "h([0-9a-f]{16})E\)" -> "hCRATE_HASHE)"
12-
//@ normalize-stderr: "::h([0-9a-f]{16})\)" -> "::hCRATE_HASH)"
9+
// FIXME: When rustc-demangle/94 is in rust's deps, change this to '{16}' (fixed-length hashes)
10+
//@ normalize-stderr: "splat_mangling\[([0-9a-f]{8-16})\]::" -> "splat_mangling[CRATE_HASH]::"
11+
//@ normalize-stderr: "alloc\[([0-9a-f]{8-16})\]::" -> "alloc[CRATE_HASH]::"
12+
//@ normalize-stderr: "h([0-9a-f]{8-16})E\)" -> "hCRATE_HASHE)"
13+
//@ normalize-stderr: "::h([0-9a-f]{8-16})\)" -> "::hCRATE_HASH)"
1314

1415
#![allow(incomplete_features)]
1516
#![feature(splat, rustc_attrs)]

0 commit comments

Comments
 (0)