2018-01-13 14:05:51 +01:00
|
|
|
error[E0658]: specialization is unstable (see issue #31844)
|
2017-12-06 10:18:03 +01:00
|
|
|
--> $DIR/specialization-feature-gate-default.rs:20:5
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | default fn foo(&self) {} //~ ERROR specialization is unstable
|
2017-12-06 10:18:03 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(specialization)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0658"
|