rustc/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-invalid-places.stderr
2024-05-23 21:15:29 +02: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