stop requiring the feature-gate to use dyn_trait

This commit is contained in:
Christian Poveda 2018-04-12 16:53:28 -05:00
parent 2a6200a5c8
commit 199ee32773
2 changed files with 2 additions and 18 deletions

View file

@ -1,11 +0,0 @@
error[E0658]: `dyn Trait` syntax is unstable (see issue #44662)
--> $DIR/feature-gate-dyn-trait.rs:12:14
|
LL | type A = Box<dyn Trait>; //~ ERROR `dyn Trait` syntax is unstable
| ^^^^^^^^^
|
= help: add #![feature(dyn_trait)] to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.