Skip to content

Commit

Permalink
Update 61936 and 66706
Browse files Browse the repository at this point in the history
rust-lang/rust@342c5f3
changes how some of these ICE
  • Loading branch information
Alexendoo committed Mar 25, 2020
1 parent 814e8f4 commit 88b8bd5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ices/61936.rs
Expand Up @@ -37,7 +37,7 @@ impl <'a, T: Clone, const N: usize> Iterator for ArrayWindows<'a, T, {N}> {
const FOUR: usize = 4;

fn main() {
let v = vec![100; 0usize];
let v: Vec<usize> = vec![100; 0usize];

for array in v.as_slice().array_windows::<{FOUR}>() {
// println!("{:?}", array);
Expand Down
5 changes: 5 additions & 0 deletions ices/66706-1.rs
@@ -0,0 +1,5 @@
fn bug() {
[0; [|&_: _ &_| {}; 0 ].len()]
}

fn main() {}
5 changes: 5 additions & 0 deletions ices/66706-2.rs
@@ -0,0 +1,5 @@
fn bug() {
[0; match [|f @ &ref _| () ] {} ]
}

fn main() {}
5 changes: 0 additions & 5 deletions ices/66706.rs

This file was deleted.

0 comments on commit 88b8bd5

Please sign in to comment.