]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable |
0731742a | 2 | --> $DIR/min_const_fn_dyn.rs:9:5 |
b7449926 XL |
3 | | |
4 | LL | x.0.field; | |
5 | | ^^^^^^^^^ | |
9fa01778 | 6 | | |
48663c56 | 7 | = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 |
416331ca | 8 | = help: add `#![feature(const_fn)]` to the crate attributes to enable |
b7449926 | 9 | |
48663c56 | 10 | error[E0723]: trait bounds other than `Sized` on const fn parameters are unstable |
0731742a | 11 | --> $DIR/min_const_fn_dyn.rs:12:66 |
b7449926 XL |
12 | | |
13 | LL | const fn no_inner_dyn_trait_ret() -> Hide { Hide(HasDyn { field: &0 }) } | |
14 | | ^^ | |
9fa01778 | 15 | | |
48663c56 | 16 | = note: for more information, see issue https://github.com/rust-lang/rust/issues/57563 |
416331ca | 17 | = help: add `#![feature(const_fn)]` to the crate attributes to enable |
b7449926 | 18 | |
60c5eb7d | 19 | error: aborting due to 2 previous errors |
b7449926 | 20 | |
60c5eb7d | 21 | For more information about this error, try `rustc --explain E0723`. |