diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-06-21 15:15:36 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-07-11 12:23:44 +1000 |
| commit | 9aaa0c5867d7f68ef38dcaeb73b68085b8c4d731 (patch) | |
| tree | ff440af5fcabe3b24b7b99a541e9311ed07ad321 /tests/ui/consts/const-eval/ub-ref-ptr.rs | |
| parent | 3ad5f459b35769b8ad9f0b364d3dabb3721b9117 (diff) | |
| download | rust-9aaa0c5867d7f68ef38dcaeb73b68085b8c4d731.tar.gz rust-9aaa0c5867d7f68ef38dcaeb73b68085b8c4d731.zip | |
Always use a colon in `//@ normalize-*:` headers
Diffstat (limited to 'tests/ui/consts/const-eval/ub-ref-ptr.rs')
| -rw-r--r-- | tests/ui/consts/const-eval/ub-ref-ptr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/consts/const-eval/ub-ref-ptr.rs b/tests/ui/consts/const-eval/ub-ref-ptr.rs index 78dcd1c1f42..44b25a6438e 100644 --- a/tests/ui/consts/const-eval/ub-ref-ptr.rs +++ b/tests/ui/consts/const-eval/ub-ref-ptr.rs @@ -1,7 +1,7 @@ // ignore-tidy-linelength // Strip out raw byte dumps to make comparison platform-independent: -//@ normalize-stderr-test "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)" -//@ normalize-stderr-test "([0-9a-f][0-9a-f] |╾─*ALLOC[0-9]+(\+[a-z0-9]+)?(<imm>)?─*╼ )+ *│.*" -> "HEX_DUMP" +//@ normalize-stderr-test: "(the raw bytes of the constant) \(size: [0-9]*, align: [0-9]*\)" -> "$1 (size: $$SIZE, align: $$ALIGN)" +//@ normalize-stderr-test: "([0-9a-f][0-9a-f] |╾─*ALLOC[0-9]+(\+[a-z0-9]+)?(<imm>)?─*╼ )+ *│.*" -> "HEX_DUMP" #![allow(invalid_value)] use std::mem; |
