mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
9 lines
255 B
Plaintext
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
|
|
|