rust/src/test/ui/specialization/defaultimpl/specialization-feature-gate-default.stderr

14 lines
390 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0658]: specialization is unstable (see issue #31844)
2018-12-25 09:56:47 -06:00
--> $DIR/specialization-feature-gate-default.rs:7:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | / default impl<T> Foo for T {
2018-08-08 07:28:26 -05:00
LL | | fn foo(&self) {}
LL | | }
| |_^
|
= help: add #![feature(specialization)] to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.