about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-11 14:25:29 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-12 14:10:39 -0700
commit0b969a9d68b29fa53fb0595beb319036210d9e73 (patch)
tree991a58dd2f2715261bbb5dd701a7ca2b9975bec4 /src/libstd/sys/unix/stack_overflow.rs
parent6cc42a4488d5dbc4c4109ed4a2f2ea81efa77f86 (diff)
downloadrust-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