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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
471 B
Plaintext
Raw Normal View History

2019-04-10 16:40:12 -07:00
error[E0658]: specialization is unstable
2018-12-25 08:56:47 -07:00
--> $DIR/specialization-feature-gate-default.rs:7:1
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | / default impl<T> Foo for T {
2018-08-08 14:28:26 +02:00
LL | | fn foo(&self) {}
LL | | }
| |_^
|
2020-02-07 13:07:02 +01: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 14:28:26 +02:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.