rust/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-maybe-trait.stderr

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

9 lines
235 B
Plaintext
Raw Normal View History

2023-11-11 08:01:58 -06:00
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
2023-11-11 08:01:58 -06:00