rust/tests/ui/rfc-2632-const-trait-impl/impl-tilde-const-trait.stderr
2023-01-11 09:32:08 +00:00

9 lines
169 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 previous error