Skip to content

Cleanup unused imports and enforce Clippy lints #55

Cleanup unused imports and enforce Clippy lints

Cleanup unused imports and enforce Clippy lints #55

Triggered via pull request January 22, 2024 12:53
Status Failure
Total duration 11m 43s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
module has the same name as its containing module: src/tests.rs#L2
error: module has the same name as its containing module --> src/tests.rs:2:1 | 2 | / mod tests { 3 | | use crate::polkadot_relay::runtime_types::frame_system::pallet::Call as PolkadotRelaySystemCall; 4 | | use crate::{ 5 | | submit_referendum::{generate_calls, get_proposal_bytes}, ... | 448 | | } 449 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `-D clippy::module-inception` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::module_inception)]`
build
Clippy had exited with the 101 exit code