File tree 1 file changed +2
-2
lines changed
tests/rustdoc-ui/synthetic-auto-trait-impls
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
4
4
LL | pub struct Structure<C: Tec> {
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Bar<5>` is not implemented for `C`
6
6
|
7
- help: consider further restricting this bound with trait `Bar`
7
+ help: consider further restricting type parameter `C` with trait `Bar`
8
8
|
9
9
LL | pub struct Structure<C: Tec + Bar<5>> {
10
10
| ++++++++
@@ -15,7 +15,7 @@ error[E0277]: the trait bound `C: Bar<5>` is not satisfied
15
15
LL | _field: C::BarType,
16
16
| ^^^^^^^^^^ the trait `Bar<5>` is not implemented for `C`
17
17
|
18
- help: consider further restricting this bound with trait `Bar`
18
+ help: consider further restricting type parameter `C` with trait `Bar`
19
19
|
20
20
LL | pub struct Structure<C: Tec + Bar<5>> {
21
21
| ++++++++
You can’t perform that action at this time.
0 commit comments