Update UI tests for Rust 1.64 (#12440)

* Update UI tests for Rust 1.64

* Test with the staging image

* Switch back to production
This commit is contained in:
Vlad
2022-10-10 21:04:51 +03:00
committed by GitHub
parent 54c3e7f55f
commit 896a9fc7cb
19 changed files with 80 additions and 44 deletions
@@ -10,7 +10,7 @@ error: `integrity_test` can only be passed once as input.
7 | | }
| |_^
|
= note: this error originates in the macro `$crate::decl_module` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::decl_module` which comes from the expansion of the macro `frame_support::decl_module` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0601]: `main` function not found in crate `$CRATE`
--> tests/decl_module_ui/reserved_keyword_two_times_integrity_test.rs:7:2
@@ -1,5 +1,5 @@
error: `on_initialize` can only be passed once as input.
--> $DIR/reserved_keyword_two_times_on_initialize.rs:1:1
--> tests/decl_module_ui/reserved_keyword_two_times_on_initialize.rs:1:1
|
1 | / frame_support::decl_module! {
2 | | pub struct Module<T: Config> for enum Call where origin: T::RuntimeOrigin, system=self {
@@ -10,4 +10,4 @@ error: `on_initialize` can only be passed once as input.
11 | | }
| |_^
|
= note: this error originates in the macro `$crate::decl_module` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::decl_module` which comes from the expansion of the macro `frame_support::decl_module` (in Nightly builds, run with -Z macro-backtrace for more info)