mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +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
|
@ -3,6 +3,8 @@
|
|||
//! Allows searching the AST for code that matches one or more patterns and then replacing that code
|
||||
//! based on a template.
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
|
||||
// Feature: Structural Search and Replace
|
||||
//
|
||||
// Search and replace with named wildcards that will match any expression, type, path, pattern or item.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue