diff options
| author | Makai <m4kai410@gmail.com> | 2025-08-09 01:19:42 +0800 |
|---|---|---|
| committer | Makai <m4kai410@gmail.com> | 2025-08-09 01:35:50 +0800 |
| commit | c44fe70d0384d3d83d8f49f4e3045ed3e7e209b9 (patch) | |
| tree | 02251a0cfa350441eb89a8a1394df685c1ef1c35 /tests/ui/rustc_public-ir-print | |
| parent | 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff) | |
| download | rust-c44fe70d0384d3d83d8f49f4e3045ed3e7e209b9.tar.gz rust-c44fe70d0384d3d83d8f49f4e3045ed3e7e209b9.zip | |
fix missing parenthesis in pretty discriminant
Diffstat (limited to 'tests/ui/rustc_public-ir-print')
| -rw-r--r-- | tests/ui/rustc_public-ir-print/async-closure.stdout | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/rustc_public-ir-print/async-closure.stdout b/tests/ui/rustc_public-ir-print/async-closure.stdout index 4afb15af7a9..73e9b8fc097 100644 --- a/tests/ui/rustc_public-ir-print/async-closure.stdout +++ b/tests/ui/rustc_public-ir-print/async-closure.stdout @@ -63,7 +63,7 @@ fn foo::{closure#0}::{closure#0}(_1: Pin<&mut {async closure body@$DIR/async-clo StorageDead(_3); _0 = std::task::Poll::Ready(move _5); _10 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6})); - discriminant((*_10) = 1; + discriminant((*_10)) = 1; return; } bb2: { @@ -101,7 +101,7 @@ fn foo::{closure#0}::{synthetic#0}(_1: Pin<&mut {async closure body@$DIR/async-c StorageDead(_3); _0 = std::task::Poll::Ready(move _5); _10 = CopyForDeref((_1.0: &mut {async closure body@$DIR/async-closure.rs:9:22: 11:6})); - discriminant((*_10) = 1; + discriminant((*_10)) = 1; return; } bb2: { |
