Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix a remaining UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Jan 5, 2021
1 parent 8e9ea22 commit 34642b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions primitives/api/test/tests/ui/mock_only_one_error_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ error: Error type can not change between runtime apis
|
23 | type Error = u64;
| ^^^^

error[E0277]: the trait bound `u32: From<String>` is not satisfied
--> $DIR/mock_only_one_error_type.rs:15:1
|
Expand All @@ -19,7 +18,7 @@ error[E0277]: the trait bound `u32: From<String>` is not satisfied
::: $WORKSPACE/primitives/api/src/lib.rs
|
| type Error: std::fmt::Debug + From<String>;
| ------------ required by this bound in `sp_api_hidden_includes_DECL_RUNTIME_APIS::sp_api::ApiErrorExt::Error`
| ------------ required by this bound in `ApiErrorExt`
|
= help: the following implementations were found:
<u32 as From<HttpError>>
Expand Down

0 comments on commit 34642b8

Please sign in to comment.