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

9 lines
171 B
Plaintext

error: expected a trait, found type
--> $DIR/impl-tilde-const-trait.rs:6:6
|
LL | impl ~const T for S {}
| ^^^^^^^^
error: aborting due to 1 previous error