mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
error[E0658]: specialization is experimental
|
|
--> $DIR/feature-gate-specialization.rs:8:5
|
|
|
|
|
LL | default type Ty = ();
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= 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
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: specialization is experimental
|
|
--> $DIR/feature-gate-specialization.rs:9:5
|
|
|
|
|
LL | default const CT: () = ();
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= 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
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: specialization is experimental
|
|
--> $DIR/feature-gate-specialization.rs:10:5
|
|
|
|
|
LL | default fn fn_(&self) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= 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
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error[E0658]: specialization is experimental
|
|
--> $DIR/feature-gate-specialization.rs:17:1
|
|
|
|
|
LL | / default impl<T> OtherTrait for T {
|
|
LL | | fn fn_() {}
|
|
LL | | }
|
|
| |_^
|
|
|
|
|
= 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
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|