summary refs log tree commit diff
path: root/src/test/ui/feature-gate-dyn-trait.stderr
blob: 6e6bdf1cbf0deb26c0116fda4ff05685f044e377 (plain)
1
2
3
4
5
6
7
8
9
10
11
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`.