Skip to content

Commit 0212e02

Browse files
committed
feature on test
1 parent c122b3a commit 0212e02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/run-pass/vec-const-new.rs

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
// Test that Vec::new() can be used for constants
1212

13+
#![feature(const_vec_new)]
14+
1315
const MY_VEC: Vec<usize> = Vec::new();
1416

1517
pub fn main() {}

0 commit comments

Comments
 (0)