diff options
| author | bors <bors@rust-lang.org> | 2018-07-13 03:40:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-13 03:40:33 +0000 |
| commit | 68c39b9fec17846005da9a8e42991422c08c377c (patch) | |
| tree | ff3bab41b7bd920d7b603deb1d7ba147ac58e958 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | e92e9ce0d8383ac0126467294575401c00e3b60a (diff) | |
| parent | 0b969a9d68b29fa53fb0595beb319036210d9e73 (diff) | |
| download | rust-68c39b9fec17846005da9a8e42991422c08c377c.tar.gz rust-68c39b9fec17846005da9a8e42991422c08c377c.zip | |
Auto merge of #52275 - alexcrichton:no-macro-use, r=nrc
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
