rust/tests/ui/rfc-2632-const-trait-impl/tilde-const-invalid-places.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
255 B
Plaintext
Raw Normal View History

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