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