Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Fix UI Tests #7722

Merged
merged 11 commits into from
Dec 19, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .maintain/gitlab/check_polkadot_companion_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ cargo install -f --version 0.2.0 diener

# Merge master into our branch before building Polkadot to make sure we don't miss
# any commits that are required by Polkadot.
git fetch --depth 20 origin
git merge origin/master

# Clone the current Polkadot master branch into ./polkadot.
Expand Down
6 changes: 3 additions & 3 deletions frame/support/test/tests/derive_no_bound_ui/clone.stderr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
error[E0277]: the trait bound `<T as Config>::C: std::clone::Clone` is not satisfied
error[E0277]: the trait bound `<T as Config>::C: Clone` is not satisfied
--> $DIR/clone.rs:7:2
|
7 | c: T::C,
| ^ the trait `std::clone::Clone` is not implemented for `<T as Config>::C`
| ^ the trait `Clone` is not implemented for `<T as Config>::C`
|
= note: required by `std::clone::Clone::clone`
= note: required by `clone`
7 changes: 6 additions & 1 deletion frame/support/test/tests/derive_no_bound_ui/eq.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ error[E0277]: can't compare `Foo<T>` with `Foo<T>`
6 | struct Foo<T: Config> {
| ^^^ no implementation for `Foo<T> == Foo<T>`
|
= help: the trait `std::cmp::PartialEq` is not implemented for `Foo<T>`
::: $RUST/core/src/cmp.rs
|
| pub trait Eq: PartialEq<Self> {
| --------------- required by this bound in `Eq`
|
= help: the trait `PartialEq` is not implemented for `Foo<T>`