diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:19:13 +0000 |
commit | 218caa410aa38c29984be31a5229b9fa717560ee (patch) | |
tree | c54bd55eeb6e4c508940a30e94c0032fbd45d677 /tests/ui/specialization/issue-39448.stderr | |
parent | Releasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff) | |
download | rustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip |
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/ui/specialization/issue-39448.stderr (renamed from src/test/ui/specialization/issue-39448.stderr) | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/ui/specialization/issue-39448.stderr b/tests/ui/specialization/issue-39448.stderr index 60157d9a3..9ce51d113 100644 --- a/src/test/ui/specialization/issue-39448.stderr +++ b/tests/ui/specialization/issue-39448.stderr @@ -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 |