Skip to content

Commit

Permalink
Update test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Jan 15, 2025
1 parent 8d79467 commit 6c1cb4b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ error: missing ink! constructor
5 | | #[ink(storage)]
6 | | pub struct Contract {}
... |
11 | | }
12 | | }
| |_^
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ error: missing ink! message
5 | | #[ink(storage)]
6 | | pub struct Contract {}
... |
13 | | }
14 | | }
| |_^
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ error: missing ink! storage struct
5 | | // #[ink(storage)]
6 | | pub struct Contract {}
... |
14 | | }
15 | | }
| |_^
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ error: encountered multiple ink! storage structs, expected exactly one
5 | | #[ink(storage)]
6 | | pub struct Contract {}
... |
29 | | }
30 | | }
| |_^

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ warning: this function depends on never type fallback being `()`
| ^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: WrapperTypeDecode` will fail
--> tests/ui/contract/fail/trait-message-selector-overlap-1.rs:38:9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ warning: this function depends on never type fallback being `()`
| ^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: WrapperTypeDecode` will fail
--> tests/ui/contract/fail/trait-message-selector-overlap-2.rs:38:9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ warning: this function depends on never type fallback being `()`
| ^^^^^^^^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/never-type-fallback.html>
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: WrapperTypeDecode` will fail
--> tests/ui/contract/fail/trait-message-selector-overlap-3.rs:38:9
Expand Down

0 comments on commit 6c1cb4b

Please sign in to comment.