diff options
| author | teor <teor@riseup.net> | 2024-01-17 12:55:38 +1000 |
|---|---|---|
| committer | teor <teor@riseup.net> | 2024-02-20 07:52:35 +1000 |
| commit | f40279ff7dd7e2abaa6d3be3b647a911153c6411 (patch) | |
| tree | 6cbf27b63ca3348c57bca4831811c6043cb99133 | |
| parent | 6670acd2878b2053b8118dcf65056f99d755fe5a (diff) | |
Add some more test cases
| -rw-r--r-- | tests/ui/cast.stderr | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/ui/cast.stderr b/tests/ui/cast.stderr index aaa6b4183e9..458b2736866 100644 --- a/tests/ui/cast.stderr +++ b/tests/ui/cast.stderr @@ -481,12 +481,6 @@ LL | (x * x) as u32; | ^^^^^^^^^^^^^^ error: casting `i32` to `u32` may lose the sign of the value - --> tests/ui/cast.rs:373:9 - | -LL | x.pow(2) as u32; - | ^^^^^^^^^^^^^^^ - -error: casting `i32` to `u32` may lose the sign of the value --> tests/ui/cast.rs:377:32 | LL | let _a = |x: i32| -> u32 { (x * x * x * x) as u32 }; |
