]> git.proxmox.com Git - rustc.git/blob - src/test/ui/consts/min_const_fn/min_const_fn_dyn.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / consts / min_const_fn / min_const_fn_dyn.stderr
1 error: trait bounds other than `Sized` on const fn parameters are unstable
2 --> $DIR/min_const_fn_dyn.rs:19:5
3 |
4 LL | x.0.field;
5 | ^^^^^^^^^
6
7 error: trait bounds other than `Sized` on const fn parameters are unstable
8 --> $DIR/min_const_fn_dyn.rs:22:66
9 |
10 LL | const fn no_inner_dyn_trait_ret() -> Hide { Hide(HasDyn { field: &0 }) }
11 | ^^
12
13 error: aborting due to 2 previous errors
14