9 lines
169 B
Plaintext
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
|
||
|
|