File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/rustdoc-ui/synthetic-auto-trait-impls Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error[E0277]: the trait bound `C: Bar<5>` is not satisfied
44LL | pub struct Structure<C: Tec> {
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar<5>` is not implemented for `C`
66 |
7- help: consider further restricting this bound with trait `Bar`
7+ help: consider further restricting type parameter `C` with trait `Bar`
88 |
99LL | pub struct Structure<C: Tec + Bar<5>> {
1010 | ++++++++
@@ -15,7 +15,7 @@ error[E0277]: the trait bound `C: Bar<5>` is not satisfied
1515LL | _field: C::BarType,
1616 | ^^^^^^^^^^ the trait `Bar<5>` is not implemented for `C`
1717 |
18- help: consider further restricting this bound with trait `Bar`
18+ help: consider further restricting type parameter `C` with trait `Bar`
1919 |
2020LL | pub struct Structure<C: Tec + Bar<5>> {
2121 | ++++++++
You can’t perform that action at this time.
0 commit comments