2022-11-10 12:56:09 -06:00
|
|
|
error: missing `~const` qualifier for specialization
|
2023-05-05 06:54:58 -05:00
|
|
|
--> $DIR/const-default-bound-non-const-specialized-bound.rs:32:8
|
2022-11-06 01:07:06 -05:00
|
|
|
|
|
|
|
|
LL | T: Foo,
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
error[E0119]: conflicting implementations of trait `Baz`
|
2023-05-05 06:54:58 -05:00
|
|
|
--> $DIR/const-default-bound-non-const-specialized-bound.rs:50:1
|
2022-11-06 01:07:06 -05:00
|
|
|
|
|
|
|
|
LL | impl<T> const Baz for T
|
|
|
|
| ----------------------- first implementation here
|
|
|
|
...
|
|
|
|
LL | impl<T> const Baz for T
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0119`.
|