about summary refs log tree commit diff
path: root/src/libsyntax/parse/classify.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-16 23:29:15 -0700
committerGitHub <noreply@github.com>2016-09-16 23:29:15 -0700
commit141012dd523e6c13924e7c092e1f7f1407430e8c (patch)
tree6bb0f18a53a235873d4538a204f85ee402aafda4 /src/libsyntax/parse/classify.rs
parent9dc9f340ccf37bccdd6aec0e0f44238d22fa6d7f (diff)
parent6f0ee455023fe24cade7a8ebb0af31c2ac98548e (diff)
downloadrust-141012dd523e6c13924e7c092e1f7f1407430e8c.tar.gz
rust-141012dd523e6c13924e7c092e1f7f1407430e8c.zip
Auto merge of #36482 - jseyfried:dont_load_unconfigured_noninline_modules, r=nrc
Avoid loading and parsing unconfigured non-inline modules.

For example, `#[cfg(any())] mod foo;` will always compile after this PR, even if `foo.rs` and `foo/mod.rs` do not exist or do not contain valid Rust.

Fixes #36478 and fixes #27873.

r? @nrc
Diffstat (limited to 'src/libsyntax/parse/classify.rs')
0 files changed, 0 insertions, 0 deletions