1 error: `?const` is not permitted in trait objects
2 --> $DIR/in-trait-object.rs:10:6
7 error: `?const` is not permitted in trait objects
8 --> $DIR/in-trait-object.rs:14:35
10 LL | fn trait_object() -> &'static dyn ?const T { &S }
13 error: `?const` on trait bounds is not yet implemented
14 --> $DIR/in-trait-object.rs:10:6
19 error: `?const` on trait bounds is not yet implemented
20 --> $DIR/in-trait-object.rs:14:35
22 LL | fn trait_object() -> &'static dyn ?const T { &S }
25 error: aborting due to 4 previous errors