mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Enable extra warnings required by rust-lang/rust
This commit is contained in:
parent
0ded8e734f
commit
23d25a3094
38 changed files with 84 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
//! Driver for rust-analyzer.
|
||||
//!
|
||||
//! Based on cli flags, either spawns an LSP server, or runs a batch analysis
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
|
||||
mod logger;
|
||||
mod rustc_wrapper;
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
//! The `cli` submodule implements some batch-processing analysis, primarily as
|
||||
//! a debugging aid.
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
|
||||
pub mod cli;
|
||||
|
||||
#[allow(unused)]
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
//! specific JSON shapes here -- there's little value in such tests, as we can't
|
||||
//! be sure without a real client anyway.
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
|
||||
mod sourcegen;
|
||||
mod tidy;
|
||||
mod testdir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue