diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-07-11 14:25:29 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-07-12 14:10:39 -0700 |
| commit | 0b969a9d68b29fa53fb0595beb319036210d9e73 (patch) | |
| tree | 991a58dd2f2715261bbb5dd701a7ca2b9975bec4 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 6cc42a4488d5dbc4c4109ed4a2f2ea81efa77f86 (diff) | |
| download | rust-0b969a9d68b29fa53fb0595beb319036210d9e73.tar.gz rust-0b969a9d68b29fa53fb0595beb319036210d9e73.zip | |
rustc: Lint against `#[macro_use]` in 2018 idioms
This commit adds a lint to the compiler to warn against the `#[macro_use]` directive as part of the `rust_2018_idioms` lint. This lint is turned off by default and is only enabled when the `use_extern_macros` feature is also enabled. The lint here isn't fully fleshed out as it's just a simple warning rather than suggestions of how to actually import the macro, but hopefully it's a good base to start from! cc #52043
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
