diff --git a/primitives/npos-elections/solution-type/tests/ui/fail/wrong_page.stderr b/primitives/npos-elections/solution-type/tests/ui/fail/wrong_page.stderr deleted file mode 100644 index d50157fad11c2..0000000000000 --- a/primitives/npos-elections/solution-type/tests/ui/fail/wrong_page.stderr +++ /dev/null @@ -1,38 +0,0 @@ -error[E0412]: cannot find type `Perbill` in this scope - --> $DIR/wrong_page.rs:7:14 - | -7 | Accuracy = Perbill, - | ^^^^^^^ not found in this scope - | -help: consider importing this struct - | -1 | use sp_arithmetic::Perbill; - | - -error[E0433]: failed to resolve: use of undeclared type `Perbill` - --> $DIR/wrong_page.rs:7:14 - | -7 | Accuracy = Perbill, - | ^^^^^^^ not found in this scope - | -help: consider importing this struct - | -1 | use sp_arithmetic::Perbill; - | - -error[E0119]: conflicting implementations of trait `std::convert::TryFrom<&[_npos::IndexAssignment]>` for type `TestSolution` - --> $DIR/wrong_page.rs:3:1 - | -3 | / generate_solution_type!( -4 | | #[pages(1)] pub struct TestSolution::< -5 | | VoterIndex = u8, -6 | | TargetIndex = u16, -7 | | Accuracy = Perbill, -8 | | >(8) -9 | | ); - | |__^ - | - = note: conflicting implementation in crate `core`: - - impl TryFrom for T - where U: Into; - = note: this error originates in the macro `generate_solution_type` (in Nightly builds, run with -Z macro-backtrace for more info)