about summary refs log tree commit diff
path: root/tests/rustdoc-ui/synthetic-auto-trait-impls
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-11-28 22:34:21 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-12-07 21:37:15 +0000
commitaf09423967adcd8c89144a46994ed9f5abb2928b (patch)
treee69e1b627780fc99a945d5d274dfa21898e5472b /tests/rustdoc-ui/synthetic-auto-trait-impls
parentcb4db0a6c6ef642c13f7f08d449acde0336a2c8c (diff)
downloadrust-af09423967adcd8c89144a46994ed9f5abb2928b.tar.gz
rust-af09423967adcd8c89144a46994ed9f5abb2928b.zip
fix rustdoc test
Diffstat (limited to 'tests/rustdoc-ui/synthetic-auto-trait-impls')
-rw-r--r--tests/rustdoc-ui/synthetic-auto-trait-impls/projections-in-super-trait-bound-unsatisfied.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc-ui/synthetic-auto-trait-impls/projections-in-super-trait-bound-unsatisfied.stderr b/tests/rustdoc-ui/synthetic-auto-trait-impls/projections-in-super-trait-bound-unsatisfied.stderr
index 75050e65b7e..045516d7d2f 100644
--- a/tests/rustdoc-ui/synthetic-auto-trait-impls/projections-in-super-trait-bound-unsatisfied.stderr
+++ b/tests/rustdoc-ui/synthetic-auto-trait-impls/projections-in-super-trait-bound-unsatisfied.stderr
@@ -4,7 +4,7 @@ error[E0277]: the trait bound `C: Bar<5>` is not satisfied
 LL | pub struct Structure<C: Tec> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar<5>` is not implemented for `C`
    |
-help: consider further restricting this bound with trait `Bar`
+help: consider further restricting type parameter `C` with trait `Bar`
    |
 LL | pub struct Structure<C: Tec + Bar<5>> {
    |                             ++++++++
@@ -15,7 +15,7 @@ error[E0277]: the trait bound `C: Bar<5>` is not satisfied
 LL |     _field: C::BarType,
    |             ^^^^^^^^^^ the trait `Bar<5>` is not implemented for `C`
    |
-help: consider further restricting this bound with trait `Bar`
+help: consider further restricting type parameter `C` with trait `Bar`
    |
 LL | pub struct Structure<C: Tec + Bar<5>> {
    |                             ++++++++