]> git.lizzy.rs Git - rust.git/blob - tests/ui/specialization/specialization-feature-gate-default.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / specialization / specialization-feature-gate-default.stderr
1 error[E0658]: specialization is unstable
2   --> $DIR/specialization-feature-gate-default.rs:10:5
3    |
4 LL |     default fn foo(&self) {}
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8    = help: add `#![feature(specialization)]` to the crate attributes to enable
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0658`.