This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare UI tests for Rust 1.51 & new CI image (#8474)
* Prepare UI tests for Rust 1.51 & new CI image * another stderr to be fixed Co-authored-by: Denis P <denis.pisarev@parity.io>
- Loading branch information
1 parent
2125b50
commit c6ba793
Showing
3 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
3 changes: 1 addition & 2 deletions
3
frame/support/test/tests/construct_runtime_ui/missing_system_module.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
error: `System` pallet declaration is missing. Please add this line: `System: frame_system::{Pallet, Call, Storage, Config, Event<T>},` | ||
--> $DIR/missing_system_module.rs:8:2 | ||
| | ||
8 | { | ||
| _____^ | ||
8 | / { | ||
9 | | } | ||
| |_____^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 15 additions & 5 deletions
20
frame/support/test/tests/pallet_ui/hooks_invalid_item.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
error[E0107]: wrong number of type arguments: expected 1, found 0 | ||
--> $DIR/hooks_invalid_item.rs:12:18 | ||
| | ||
12 | impl<T: Config> Hooks for Pallet<T> {} | ||
| ^^^^^ expected 1 type argument | ||
error[E0107]: missing generics for trait `Hooks` | ||
--> $DIR/hooks_invalid_item.rs:12:18 | ||
| | ||
12 | impl<T: Config> Hooks for Pallet<T> {} | ||
| ^^^^^ expected 1 type argument | ||
| | ||
note: trait defined here, with 1 type parameter: `BlockNumber` | ||
--> $DIR/hooks.rs:206:11 | ||
| | ||
206 | pub trait Hooks<BlockNumber> { | ||
| ^^^^^ ----------- | ||
help: use angle brackets to add missing type argument | ||
| | ||
12 | impl<T: Config> Hooks<BlockNumber> for Pallet<T> {} | ||
| ^^^^^^^^^^^^^ |