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-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|