Skip to content

Commit 1206549

Browse files
committed
Fix tidy
1 parent ffa7ce4 commit 1206549

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/consts/const-prop-ice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fn main() {
22
[0; 3][3u64 as usize]; //~ ERROR the len is 3 but the index is 3
3-
}
3+
}

src/test/ui/consts/const-prop-ice2.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ fn main() {
22
enum Enum { One=1 }
33
let xs=[0;1 as usize];
44
println!("{}", xs[Enum::One as usize]); //~ ERROR the len is 1 but the index is 1
5-
}
5+
}

0 commit comments

Comments
 (0)