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