Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-assists/src/lib.rs')
| -rw-r--r-- | crates/ide-assists/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ide-assists/src/lib.rs b/crates/ide-assists/src/lib.rs index 7b9134efb4..1a844d9613 100644 --- a/crates/ide-assists/src/lib.rs +++ b/crates/ide-assists/src/lib.rs @@ -57,6 +57,9 @@ //! //! See also this post: //! <https://rust-analyzer.github.io/blog/2020/09/28/how-to-make-a-light-bulb.html> + +#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)] + #[allow(unused)] macro_rules! eprintln { ($($tt:tt)*) => { stdx::eprintln!($($tt)*) }; |