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

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

9 lines
169 B
Plaintext
Raw Normal View History

2021-08-25 10:21:55 -05:00
error: expected a trait, found type
--> $DIR/impl-tilde-const-trait.rs:6:6
|
LL | impl ~const T for S {}
| ^^^^^^^^
error: aborting due to previous error