Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bfbb3b5

Browse files
committedOct 25, 2023
Fix ambiguous precedences in UI tests
1 parent 0a3188b commit bfbb3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/ui/consts/const-err-rpass.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const W: bool = Z <= 'B';
99

1010

1111
fn main() {
12-
let _ = ((-1 as i8) << 8 - 1) as f32;
12+
let _ = ((-1 as i8) << (8 - 1)) as f32;
1313
let _ = 0u8 as char;
1414
let _ = true > false;
1515
let _ = true >= false;

0 commit comments

Comments
 (0)
Please sign in to comment.