mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-31 17:12:53 +00:00
fix rustdoc test
This commit is contained in:
parent
cb4db0a6c6
commit
af09423967
@ -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>> {
|
||||
| ++++++++
|
||||
|
Loading…
Reference in New Issue
Block a user