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

15 lines
455 B
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: specialization is unstable
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 | | }
| |_^
|
2019-04-11 13:42:06 -05:00
= note: for more information, see https://github.com/rust-lang/rust/issues/31844
2018-08-08 07:28:26 -05:00
= 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`.