mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-21 19:04:24 +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,4 +1,6 @@
|
|||
//! Exports a few trivial procedural macros for testing.
|
||||
|
||||
#![warn(rust_2018_idioms, unused_lifetimes, semicolon_in_expressions_from_macros)]
|
||||
|
||||
pub static PROC_MACRO_TEST_LOCATION: &str =
|
||||
include_str!(concat!(env!("OUT_DIR"), "/proc_macro_test_location.txt"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue