]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/specialization/issue-39448.stderr
Auto merge of #106825 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / ui / specialization / issue-39448.stderr
index 60157d9a3e1ba8cb2da73475b54d9ed8cd2aebc8..9ce51d1136d0eee324692477392be0fb747386f6 100644 (file)
@@ -18,12 +18,17 @@ note: required for `T` to implement `FromA<U>`
   --> $DIR/issue-39448.rs:24:29
    |
 LL | impl<T: A, U: A + FromA<T>> FromA<T> for U {
-   |                             ^^^^^^^^     ^
+   |                   --------  ^^^^^^^^     ^
+   |                   |
+   |                   unsatisfied trait bound introduced here
 note: required for `U` to implement `ToA<T>`
   --> $DIR/issue-39448.rs:34:12
    |
 LL | impl<T, U> ToA<U> for T
    |            ^^^^^^     ^
+LL | where
+LL |     U: FromA<T>,
+   |        -------- unsatisfied trait bound introduced here
 
 error: aborting due to previous error; 1 warning emitted