Skip to content

Commit

Permalink
Fix tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Nov 9, 2018
1 parent ffa7ce4 commit 1206549
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-prop-ice.rs
@@ -1,3 +1,3 @@
fn main() {
[0; 3][3u64 as usize]; //~ ERROR the len is 3 but the index is 3
}
}
2 changes: 1 addition & 1 deletion src/test/ui/consts/const-prop-ice2.rs
Expand Up @@ -2,4 +2,4 @@ fn main() {
enum Enum { One=1 }
let xs=[0;1 as usize];
println!("{}", xs[Enum::One as usize]); //~ ERROR the len is 1 but the index is 1
}
}

0 comments on commit 1206549

Please sign in to comment.