rust/tests/ui/rfc-2632-const-trait-impl/tilde-const-invalid-places.stderr
2023-01-11 09:32:08 +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