about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-01-09 06:53:11 +0000
committerMichael Goulet <michael@errs.io>2023-01-09 17:48:22 +0000
commit4f15034b55f6c9e134f7644c4571faa5ddb5facb (patch)
treea4a972b5a50603f9ec4e1a03a9e5ba65b809a31c /src
parent2600d6245bbc0d04e57e4ce561a6c07bf6b55951 (diff)
downloadrust-4f15034b55f6c9e134f7644c4571faa5ddb5facb.tar.gz
rust-4f15034b55f6c9e134f7644c4571faa5ddb5facb.zip
hack: don't normalize xform_ret_ty for trait/object candidates unless needed
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> {