1 error[E0119]: conflicting implementations of trait `Foo`
2 --> $DIR/issue-72845.rs:44:1
4 LL | impl<T: Spec1> Foo for T {
5 | ------------------------ first implementation here
7 LL | impl<T: Spec2> Foo for T {
8 | ^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0119`.