11 lines
210 B
Plaintext
11 lines
210 B
Plaintext
|
error: `const` cannot modify an inherent impl
|
||
|
--> $DIR/inherent-impl.rs:11:6
|
||
|
|
|
||
|
LL | impl const T {}
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= help: only a trait impl can be `const`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|