diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-06-13 20:48:54 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-06-13 20:48:54 +0200 |
| commit | 465f21da46a7194e25894043ca2cca9ba958e11c (patch) | |
| tree | 0a1dd5381263e8e8d6d09f1c0940aeb11f497e49 /mumd/src/main.rs | |
| parent | 9bc2bdc5dca1399fa75d20a18f1a2dfb8ab4e325 (diff) | |
| download | mum-465f21da46a7194e25894043ca2cca9ba958e11c.tar.gz | |
add unreachable_pub lint and fix debug impl
Diffstat (limited to 'mumd/src/main.rs')
| -rw-r--r-- | mumd/src/main.rs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs index 29ea77f..6b863c1 100644 --- a/mumd/src/main.rs +++ b/mumd/src/main.rs @@ -1,18 +1,19 @@ #![warn(elided_lifetimes_in_paths)] #![warn(meta_variable_misuse)] -#![warn(missing_debug_implementations)] //doesn't seem to work +#![warn(missing_debug_implementations)] #![warn(single_use_lifetimes)] +#![warn(unreachable_pub)] #![deny(keyword_idents)] #![deny(macro_use_extern_crate)] #![deny(missing_abi)] -mod audio; -mod client; -mod command; -mod error; -mod network; -mod notifications; -mod state; +pub mod audio; +pub mod client; +pub mod command; +pub mod error; +pub mod network; +pub mod notifications; +pub mod state; use crate::state::State; |
