rust/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-invalid-places.stderr
2023-06-05 16:09:46 +00:00

9 lines
255 B
Plaintext

error: `~const` and `?` are mutually exclusive
--> $DIR/tilde-const-invalid-places.rs:4:25
|
LL | struct TildeQuestion<T: ~const ?Sized>(std::marker::PhantomData<T>);
| ^^^^^^^^^^^^^
error: aborting due to previous error