mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Don't explicitly warn against semicolon_in_expressions_from_macros
This has been warn-by-default for two years now and has already been added to the future-incompat lints in 1.68.
This commit is contained in:
parent
2d66f6df25
commit
a7224c998d
38 changed files with 38 additions and 38 deletions
|
@ -2,7 +2,7 @@
|
|||
//!
|
||||
//! 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)]
|
||||
#![warn(rust_2018_idioms, unused_lifetimes)]
|
||||
#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
|
||||
#[cfg(feature = "in-rust-tree")]
|
||||
#[allow(unused_extern_crates)]
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
//! The `cli` submodule implements some batch-processing analysis, primarily as
|
||||
//! a debugging aid.
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
#![warn(rust_2018_idioms, unused_lifetimes)]
|
||||
|
||||
pub mod cli;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
//! 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)]
|
||||
#![warn(rust_2018_idioms, unused_lifetimes)]
|
||||
|
||||
#[cfg(not(feature = "in-rust-tree"))]
|
||||
mod sourcegen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue