stop requiring the feature-gate to use dyn_trait
This commit is contained in:
parent
2a6200a5c8
commit
199ee32773
2 changed files with 2 additions and 18 deletions
|
|
@ -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`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue