diff options
| author | bors <bors@rust-lang.org> | 2025-02-07 17:56:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-07 17:56:45 +0000 |
| commit | a9e7b30487235621751cc628f170c0f15fb215c4 (patch) | |
| tree | dd52a558529c0170e5d6dc6ce1ffe28afeb58694 /tests/ui/for-loop-while/while-loop-constraints-2.rs | |
| parent | 64e06c0f5578829373743884b708d494136c3e8f (diff) | |
| parent | b4c4913abbbd0d050d6fb4abd323c1065fe6dc41 (diff) | |
| download | rust-a9e7b30487235621751cc628f170c0f15fb215c4.tar.gz rust-a9e7b30487235621751cc628f170c0f15fb215c4.zip | |
Auto merge of #136697 - matthiaskrgr:rollup-eww4vl9, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #134367 (Stabilize `feature(trait_upcasting)`) - #135940 (Update toolstate maintainers) - #135945 (Remove some unnecessary parens in `assert!` conditions) - #136577 (Pattern Migration 2024: try to suggest eliding redundant binding modifiers) - #136598 (Fix suggestion for `dependency_on_unit_never_type_fallback` involving closures + format args expansions) - #136653 (Remove dead code from rustc_codegen_llvm and the LLVM wrapper) - #136664 (replace one `.map_or(true, ...)` with `.is_none_or(...)`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'tests/ui/for-loop-while/while-loop-constraints-2.rs')
| -rw-r--r-- | tests/ui/for-loop-while/while-loop-constraints-2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/for-loop-while/while-loop-constraints-2.rs b/tests/ui/for-loop-while/while-loop-constraints-2.rs index 654f6769902..1d2d9c2ecfe 100644 --- a/tests/ui/for-loop-while/while-loop-constraints-2.rs +++ b/tests/ui/for-loop-while/while-loop-constraints-2.rs @@ -11,5 +11,5 @@ pub fn main() { while false { x = y; y = z; } println!("{}", y); } - assert!((y == 42 && z == 50)); + assert!(y == 42 && z == 50); } |
