2021-08-25 10:21:55 -05:00
|
|
|
error: `~const` and `?` are mutually exclusive
|
2022-12-14 18:51:34 -06:00
|
|
|
--> $DIR/tilde-const-invalid-places.rs:4:25
|
2021-08-25 10:21:55 -05:00
|
|
|
|
|
|
|
|
LL | struct TildeQuestion<T: ~const ?Sized>(std::marker::PhantomData<T>);
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
2022-12-14 18:51:34 -06:00
|
|
|
error: aborting due to previous error
|
2021-08-25 10:21:55 -05:00
|
|
|
|