diff options
| author | Ralf Jung <post@ralfj.de> | 2025-09-24 12:12:41 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2025-09-24 13:35:29 +0200 |
| commit | 8328c3dada0c888b1c570f97314b3f697d4b2a96 (patch) | |
| tree | 2e1ec7d3bf0c3b02a51d1255ea1ec1c3617c2d4f /src | |
| parent | 0a41add6293d76b165968d70f95e7edbbe65fe11 (diff) | |
| download | rust-8328c3dada0c888b1c570f97314b3f697d4b2a96.tar.gz rust-8328c3dada0c888b1c570f97314b3f697d4b2a96.zip | |
const validation: better error for maybe-null references
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 89fb8eb4357..59bd3111ecf 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2655,7 +2655,7 @@ impl<'test> TestCx<'test> { // The alloc-id appears in pretty-printed allocations. normalized = static_regex!( - r"╾─*a(lloc)?([0-9]+)(\+0x[0-9]+)?(<imm>)?( \([0-9]+ ptr bytes\))?─*╼" + r"╾─*a(lloc)?([0-9]+)(\+0x[0-9a-f]+)?(<imm>)?( \([0-9]+ ptr bytes\))?─*╼" ) .replace_all(&normalized, |caps: &Captures<'_>| { // Renumber the captured index. |
