summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/tilde-const-invalid-places.stderr
blob: d20f146df3f1a102fa36cbe168734f1cec616f91 (plain)
1
2
3
4
5
6
7
8
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