Skip to content
Snippets Groups Projects
Commit 860d98c6 authored by thiolliere's avatar thiolliere
Browse files

fix ui tests

parent 227b2627
Branches 2038
No related merge requests found
...@@ -2,7 +2,7 @@ error: `integrity_test` can only be passed once as input. ...@@ -2,7 +2,7 @@ error: `integrity_test` can only be passed once as input.
--> $DIR/reserved_keyword_two_times_integrity_test.rs:1:1 --> $DIR/reserved_keyword_two_times_integrity_test.rs:1:1
| |
1 | / frame_support::decl_module! { 1 | / frame_support::decl_module! {
2 | | pub struct Module<T: Trait> for enum Call where origin: T::Origin, system=self { 2 | | pub struct Module<T: Config> for enum Call where origin: T::Origin, system=self {
3 | | fn integrity_test() {} 3 | | fn integrity_test() {}
4 | | 4 | |
5 | | fn integrity_test() {} 5 | | fn integrity_test() {}
...@@ -16,7 +16,7 @@ error[E0601]: `main` function not found in crate `$CRATE` ...@@ -16,7 +16,7 @@ error[E0601]: `main` function not found in crate `$CRATE`
--> $DIR/reserved_keyword_two_times_integrity_test.rs:1:1 --> $DIR/reserved_keyword_two_times_integrity_test.rs:1:1
| |
1 | / frame_support::decl_module! { 1 | / frame_support::decl_module! {
2 | | pub struct Module<T: Trait> for enum Call where origin: T::Origin, system=self { 2 | | pub struct Module<T: Config> for enum Call where origin: T::Origin, system=self {
3 | | fn integrity_test() {} 3 | | fn integrity_test() {}
4 | | 4 | |
5 | | fn integrity_test() {} 5 | | fn integrity_test() {}
......
...@@ -2,7 +2,7 @@ error: `on_initialize` can only be passed once as input. ...@@ -2,7 +2,7 @@ error: `on_initialize` can only be passed once as input.
--> $DIR/reserved_keyword_two_times_on_initialize.rs:1:1 --> $DIR/reserved_keyword_two_times_on_initialize.rs:1:1
| |
1 | / frame_support::decl_module! { 1 | / frame_support::decl_module! {
2 | | pub struct Module<T: Trait> for enum Call where origin: T::Origin, system=self { 2 | | pub struct Module<T: Config> for enum Call where origin: T::Origin, system=self {
3 | | fn on_initialize() -> Weight { 3 | | fn on_initialize() -> Weight {
4 | | 0 4 | | 0
... | ... |
...@@ -16,7 +16,7 @@ error[E0601]: `main` function not found in crate `$CRATE` ...@@ -16,7 +16,7 @@ error[E0601]: `main` function not found in crate `$CRATE`
--> $DIR/reserved_keyword_two_times_on_initialize.rs:1:1 --> $DIR/reserved_keyword_two_times_on_initialize.rs:1:1
| |
1 | / frame_support::decl_module! { 1 | / frame_support::decl_module! {
2 | | pub struct Module<T: Trait> for enum Call where origin: T::Origin, system=self { 2 | | pub struct Module<T: Config> for enum Call where origin: T::Origin, system=self {
3 | | fn on_initialize() -> Weight { 3 | | fn on_initialize() -> Weight {
4 | | 0 4 | | 0
... | ... |
......
error[E0277]: the trait bound `<T as Trait>::C: std::clone::Clone` is not satisfied error[E0277]: the trait bound `<T as Config>::C: std::clone::Clone` is not satisfied
--> $DIR/clone.rs:7:2 --> $DIR/clone.rs:7:2
| |
7 | c: T::C, 7 | c: T::C,
| ^ the trait `std::clone::Clone` is not implemented for `<T as Trait>::C` | ^ the trait `std::clone::Clone` is not implemented for `<T as Config>::C`
| |
= note: required by `std::clone::Clone::clone` = note: required by `std::clone::Clone::clone`
error[E0277]: `<T as Trait>::C` doesn't implement `std::fmt::Debug` error[E0277]: `<T as Config>::C` doesn't implement `std::fmt::Debug`
--> $DIR/debug.rs:7:2 --> $DIR/debug.rs:7:2
| |
7 | c: T::C, 7 | c: T::C,
| ^ `<T as Trait>::C` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | ^ `<T as Config>::C` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
| |
= help: the trait `std::fmt::Debug` is not implemented for `<T as Trait>::C` = help: the trait `std::fmt::Debug` is not implemented for `<T as Config>::C`
= note: required for the cast to the object type `dyn std::fmt::Debug` = note: required for the cast to the object type `dyn std::fmt::Debug`
error[E0277]: can't compare `Foo<T>` with `Foo<T>` error[E0277]: can't compare `Foo<T>` with `Foo<T>`
--> $DIR/eq.rs:6:8 --> $DIR/eq.rs:6:8
| |
6 | struct Foo<T: Trait> { 6 | struct Foo<T: Config> {
| ^^^ no implementation for `Foo<T> == Foo<T>` | ^^^ no implementation for `Foo<T> == Foo<T>`
| |
= help: the trait `std::cmp::PartialEq` is not implemented for `Foo<T>` = help: the trait `std::cmp::PartialEq` is not implemented for `Foo<T>`
error[E0369]: binary operation `==` cannot be applied to type `<T as Trait>::C` error[E0369]: binary operation `==` cannot be applied to type `<T as Config>::C`
--> $DIR/partial_eq.rs:7:2 --> $DIR/partial_eq.rs:7:2
| |
7 | c: T::C, 7 | c: T::C,
| ^ | ^
| |
= note: the trait `std::cmp::PartialEq` is not implemented for `<T as Trait>::C` = note: the trait `std::cmp::PartialEq` is not implemented for `<T as Config>::C`
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment