Files
rust/tests/ui/specialization/feature-gate-specialization.stderr
2026-04-01 17:01:59 +02:00

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`.