Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 62ff473

Browse files
committed
66501-1 is fixed, add 66501-2
1 parent 89dff76 commit 62ff473

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
File renamed without changes.

ices/66501-2.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
fn main() {
2+
const CONST: &[Option<()>; 1] = &[Some(())];
3+
match &[Some(())] {
4+
&[None] => {}
5+
CONST => {}
6+
&[Some(())] => {}
7+
}
8+
}

0 commit comments

Comments
 (0)