We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20499b9 commit b1f7ab2Copy full SHA for b1f7ab2
tests/ui/match/issue-112438.rs
@@ -0,0 +1,11 @@
1
+// run-pass
2
+#![feature(inline_const_pat)]
3
+#![allow(dead_code)]
4
+#![allow(incomplete_features)]
5
+fn foo<const V: usize>() {
6
+ match 0 {
7
+ const { 1 << 5 } | _ => {}
8
+ }
9
+}
10
+
11
+fn main() {}
0 commit comments