We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c122b3a commit 0212e02Copy full SHA for 0212e02
src/test/run-pass/vec-const-new.rs
@@ -10,6 +10,8 @@
10
11
// Test that Vec::new() can be used for constants
12
13
+#![feature(const_vec_new)]
14
+
15
const MY_VEC: Vec<usize> = Vec::new();
16
17
pub fn main() {}
0 commit comments