Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change (config): stderr msgs
  • Loading branch information
TriplEight committed May 15, 2020
commit b429f707dc73b3057656b0e49d876468ceee6f6f
4 changes: 2 additions & 2 deletions primitives/api/test/tests/ui/declaring_old_block.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ error: `Block: BlockT` generic parameter will be added automatically by the `dec
4 | pub trait Api<Block: BlockT> {
| ^^^^^

warning: unused import: `sp_runtime::traits::Block as BlockT`
error: unused import: `sp_runtime::traits::Block as BlockT`
--> $DIR/declaring_old_block.rs:1:5
|
1 | use sp_runtime::traits::Block as BlockT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
= note: `-D unused-imports` implied by `-D warnings`
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ error: `Block: BlockT` generic parameter will be added automatically by the `dec
4 | pub trait Api<B: BlockT> {
| ^^^^^^

warning: unused import: `sp_runtime::traits::Block as BlockT`
error: unused import: `sp_runtime::traits::Block as BlockT`
--> $DIR/declaring_own_block_with_different_name.rs:1:5
|
1 | use sp_runtime::traits::Block as BlockT;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
= note: `-D unused-imports` implied by `-D warnings`
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ error: Two traits with the same name detected! The trait name is used to generat
32 | impl second::Api<Block> for Runtime {
| ^^^

warning: unused import: `super::*`
error: unused import: `super::*`
--> $DIR/impl_two_traits_with_same_name.rs:18:6
|
18 | use super::*;
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
= note: `-D unused-imports` implied by `-D warnings`
4 changes: 2 additions & 2 deletions primitives/api/test/tests/ui/mock_only_one_block_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ error: First block type found here
18 | impl Api<Block> for MockApi {
| ^^^^^

warning: unused import: `substrate_test_runtime_client::runtime::Block`
error: unused import: `substrate_test_runtime_client::runtime::Block`
--> $DIR/mock_only_one_block_type.rs:1:5
|
1 | use substrate_test_runtime_client::runtime::Block;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
= note: `-D unused-imports` implied by `-D warnings`
4 changes: 2 additions & 2 deletions primitives/api/test/tests/ui/mock_only_one_self_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ error: First self type found here
17 | impl Api<Block> for MockApi {
| ^^^^^^^

warning: unused import: `substrate_test_runtime_client::runtime::Block`
error: unused import: `substrate_test_runtime_client::runtime::Block`
--> $DIR/mock_only_one_self_type.rs:1:5
|
1 | use substrate_test_runtime_client::runtime::Block;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
= note: `-D unused-imports` implied by `-D warnings`