diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2025-04-30 13:02:30 +0200 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2025-04-30 14:35:23 +0200 |
| commit | b9e0ecdd7626e76f0b72ada922e5c07eae75cdf5 (patch) | |
| tree | c1e488c03f12ccfec5b50e77c6fa2b25e690534e /compiler/rustc_transmute/src/maybe_transmutable/tests.rs | |
| parent | 88a86794b9e5bcda28b8f89e6b6264bb7bc042c4 (diff) | |
| download | rust-b9e0ecdd7626e76f0b72ada922e5c07eae75cdf5.tar.gz rust-b9e0ecdd7626e76f0b72ada922e5c07eae75cdf5.zip | |
transmutability: merge contiguous runs with a common destination
Diffstat (limited to 'compiler/rustc_transmute/src/maybe_transmutable/tests.rs')
| -rw-r--r-- | compiler/rustc_transmute/src/maybe_transmutable/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_transmute/src/maybe_transmutable/tests.rs b/compiler/rustc_transmute/src/maybe_transmutable/tests.rs index fbb4639dbd6..0227ad71ae6 100644 --- a/compiler/rustc_transmute/src/maybe_transmutable/tests.rs +++ b/compiler/rustc_transmute/src/maybe_transmutable/tests.rs @@ -314,7 +314,7 @@ mod union { let u = s.clone().union(t.clone(), new_state); let expected_u = - Dfa::from_edges(b, a, &[(b, 0, c), (b, 1, d), (d, 1, a), (d, 0, a), (c, 0, a)]); + Dfa::from_edges(b, a, &[(b, 0..=0, c), (b, 1..=1, d), (d, 0..=1, a), (c, 0..=0, a)]); assert_eq!(u, expected_u); |
