From f40279ff7dd7e2abaa6d3be3b647a911153c6411 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 17 Jan 2024 12:55:38 +1000 Subject: [PATCH] Add some more test cases --- tests/ui/cast.stderr | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/ui/cast.stderr b/tests/ui/cast.stderr index aaa6b4183..458b27368 100644 --- a/tests/ui/cast.stderr +++ b/tests/ui/cast.stderr @@ -480,12 +480,6 @@ error: casting `i32` to `u32` may lose the sign of the value 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 |