Skip to content

Commit 6215084

Browse files
authored
chore(deps): bump derive_more from 0.99 to 1.0 (#211)
* chore(deps): bump derive_more from 0.99 to 1.0 * fix ui tests
1 parent ede33c3 commit 6215084

File tree

4 files changed

+20
-17
lines changed

4 files changed

+20
-17
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.11.4] - 2024-10-22
9+
- Bump `derive_more` to version 1.0.0.
10+
811
## [2.11.3] - 2024-05-08
912
- Bump `proc-macro-crate` to version 3.
1013

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ bitvec = { version = "1", default-features = false, features = ["alloc"], option
1919
cfg-if = "1.0"
2020
scale-info-derive = { version = "2.11.3", path = "derive", default-features = false, optional = true }
2121
serde = { version = "1", default-features = false, optional = true, features = ["derive", "alloc"] }
22-
derive_more = { version = "0.99.1", default-features = false, features = ["from"] }
22+
derive_more = { version = "1.0.0", default-features = false, features = ["from"] }
2323
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
2424
schemars = { version = "0.8", optional = true }
2525

test_suite/tests/ui/fail_missing_derive.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ error[E0277]: the trait bound `PawType<u16>: TypeInfo` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^ the trait `TypeInfo` is not implemented for `PawType<u16>`, which is required by `Cat<bool, u8, u16>: TypeInfo`
66
|
77
= help: the following other types implement trait `TypeInfo`:
8-
bool
9-
char
10-
i8
11-
i16
12-
i32
13-
i64
14-
i128
15-
u8
8+
&T
9+
&mut T
10+
()
11+
(A, B)
12+
(A, B, C)
13+
(A, B, C, D)
14+
(A, B, C, D, E)
15+
(A, B, C, D, E, F)
1616
and $N others
1717
note: required for `Cat<bool, u8, u16>` to implement `TypeInfo`
1818
--> tests/ui/fail_missing_derive.rs:8:10

test_suite/tests/ui/fail_unions.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ error[E0277]: the trait bound `Commonwealth: TypeInfo` is not satisfied
1515
| ^^^^^^^^^^^^ the trait `TypeInfo` is not implemented for `Commonwealth`
1616
|
1717
= help: the following other types implement trait `TypeInfo`:
18-
bool
19-
char
20-
i8
21-
i16
22-
i32
23-
i64
24-
i128
25-
u8
18+
&T
19+
&mut T
20+
()
21+
(A, B)
22+
(A, B, C)
23+
(A, B, C, D)
24+
(A, B, C, D, E)
25+
(A, B, C, D, E, F)
2626
and $N others
2727
note: required by a bound in `assert_type_info`
2828
--> tests/ui/fail_unions.rs:11:24

0 commit comments

Comments
 (0)