feature on test
This commit is contained in:
parent
c122b3a42c
commit
0212e0230a
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
// Test that Vec::new() can be used for constants
|
||||
|
||||
#![feature(const_vec_new)]
|
||||
|
||||
const MY_VEC: Vec<usize> = Vec::new();
|
||||
|
||||
pub fn main() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue