about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/trait-bounds/impl-derived-implicit-sized-bound-2.stderr7
-rw-r--r--src/test/ui/trait-bounds/impl-derived-implicit-sized-bound.stderr7
2 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound-2.stderr b/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound-2.stderr
index 7cd9788a7d3..543ceac8e91 100644
--- a/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound-2.stderr
+++ b/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound-2.stderr
@@ -17,13 +17,6 @@ LL | impl<'a, T: Perpetrator /*+ ?Sized*/> VictimTrait for Victim<'a, T> {
    |          ^                            -----------     -------------
    |          |
    |          unsatisfied trait bound introduced here
-   = note: the following trait bounds were not satisfied:
-           `&Victim<'_, Self>: VictimTrait`
-           `&mut Victim<'_, Self>: VictimTrait`
-help: consider relaxing the type parameter's implicit `Sized` bound
-   |
-LL | impl<'a, T: ?Sized + Perpetrator /*+ ?Sized*/> VictimTrait for Victim<'a, T> {
-   |             ++++++++
 help: consider relaxing the type parameter's implicit `Sized` bound
    |
 LL | impl<'a, T: ?Sized + Perpetrator /*+ ?Sized*/> VictimTrait for Victim<'a, T> {
diff --git a/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound.stderr b/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound.stderr
index 96345df73b4..f08d685836e 100644
--- a/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound.stderr
+++ b/src/test/ui/trait-bounds/impl-derived-implicit-sized-bound.stderr
@@ -17,13 +17,6 @@ LL | impl<'a, T: Perpetrator /*+ ?Sized*/> VictimTrait for Victim<'a, T> {
    |          ^                            -----------     -------------
    |          |
    |          unsatisfied trait bound introduced here
-   = note: the following trait bounds were not satisfied:
-           `&Victim<'_, Self>: VictimTrait`
-           `&mut Victim<'_, Self>: VictimTrait`
-help: consider relaxing the type parameter's implicit `Sized` bound
-   |
-LL | impl<'a, T: ?Sized + Perpetrator /*+ ?Sized*/> VictimTrait for Victim<'a, T> {
-   |             ++++++++
 help: consider relaxing the type parameter's implicit `Sized` bound
    |
 LL | impl<'a, T: ?Sized + Perpetrator /*+ ?Sized*/> VictimTrait for Victim<'a, T> {