File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
test/tests/derive_no_bound_ui Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- error[E0277]: the trait bound `<T as Config>::C: std::clone:: Clone` is not satisfied
1
+ error[E0277]: the trait bound `<T as Config>::C: Clone` is not satisfied
2
2
--> $DIR/clone.rs:7:2
3
3
|
4
4
7 | c: T::C,
5
- | ^ the trait `std::clone:: Clone` is not implemented for `<T as Config>::C`
5
+ | ^ the trait `Clone` is not implemented for `<T as Config>::C`
6
6
|
7
- = note: required by `std::clone::Clone:: clone`
7
+ = note: required by `clone`
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ error[E0277]: can't compare `Foo<T>` with `Foo<T>`
4
4
6 | struct Foo<T: Config> {
5
5
| ^^^ no implementation for `Foo<T> == Foo<T>`
6
6
|
7
- = help: the trait `std::cmp:: PartialEq` is not implemented for `Foo<T>`
7
+ = help: the trait `PartialEq` is not implemented for `Foo<T>`
You can’t perform that action at this time.
0 commit comments