[ci] Update rust in ci image (1.75 and 2024-01-22) (#3016)

cc https://github.com/paritytech/ci_cd/issues/926

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Co-authored-by: Dónal Murray <donal.murray@parity.io>
Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
This commit is contained in:
Alexander Samusev
2024-01-31 00:17:44 +01:00
committed by GitHub
parent 5a6f6d33d3
commit 5b7f24fca1
22 changed files with 116 additions and 48 deletions
@@ -19,6 +19,7 @@ use codec::{Decode, Encode};
use frame_support::PalletError;
#[frame_support::pallet]
#[allow(unused_imports)]
mod pallet {
#[pallet::config]
pub trait Config: frame_system::Config {}
@@ -34,25 +35,24 @@ mod pallet {
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
pub enum MyError {
Foo,
Bar,
Baz(NestedError),
Struct(MyStruct),
Wrapper(Wrapper),
Foo,
Bar,
Baz(NestedError),
Struct(MyStruct),
Wrapper(Wrapper),
}
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
pub enum NestedError {
Quux
Quux,
}
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
pub struct MyStruct {
field: u8,
field: u8,
}
#[derive(Encode, Decode, PalletError, scale_info::TypeInfo)]
pub struct Wrapper(bool);
fn main() {
}
fn main() {}
@@ -16,6 +16,7 @@
// limitations under the License.
#[frame_support::pallet]
#[allow(unused_imports)]
mod pallet {
use frame_support::pallet_prelude::{Hooks, IsType};
use frame_system::pallet_prelude::BlockNumberFor;