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` is not permitted in trait objects
14 --> $DIR/in-trait-object.rs:18:61
16 LL | fn trait_object_in_apit(_: impl IntoIterator<Item = Box<dyn ?const T>>) {}
19 error: `?const` on trait bounds is not yet implemented
20 --> $DIR/in-trait-object.rs:10:6
25 error: `?const` on trait bounds is not yet implemented
26 --> $DIR/in-trait-object.rs:14:35
28 LL | fn trait_object() -> &'static dyn ?const T { &S }
31 error: `?const` on trait bounds is not yet implemented
32 --> $DIR/in-trait-object.rs:18:61
34 LL | fn trait_object_in_apit(_: impl IntoIterator<Item = Box<dyn ?const T>>) {}
37 error: aborting due to 6 previous errors