rust/tests/ui/specialization/defaultimpl/specialization-feature-gate-default.stderr

15 lines
471 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 | | }
| |_^
|
2020-02-07 06:07:02 -06:00
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
= help: add `#![feature(specialization)]` to the crate attributes to enable
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.