mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
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
|
|
|