]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/trait-object-generics.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / trait-object-generics.rs
index 81aa5daaf91ce4919d3f64cc5be3a29ef708af4e..76352c799a0f2728805de9e25302f04d9c0b0e3a 100644 (file)
@@ -10,6 +10,8 @@
 
 // test for #8664
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 pub trait Trait2<A> {
     fn doit(&self);