summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-maybe-trait.stderr
blob: 5850ab41c6ba681d5096b1da682e4c52005dc056 (plain)
1
2
3
4
5
6
7
8
error: `~const` and `?` are mutually exclusive
  --> $DIR/tilde-const-maybe-trait.rs:3:28
   |
LL | const fn tilde_question<T: ~const ?Sized>() {}
   |                            ^^^^^^^^^^^^^

error: aborting due to 1 previous error