about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-19 21:15:12 +0000
committerbors <bors@rust-lang.org>2017-01-19 21:15:12 +0000
commitf0b42075981d9914c39e848377a3e12f0adf37d7 (patch)
tree56dc08491470dcc39101f388c3823e84dec5ac46 /src/rustllvm/RustWrapper.cpp
parent8e29b4d3876fc141a0c451c65045bda2c1f39534 (diff)
parentd492433744d76e12151716ae688295570ebc5375 (diff)
downloadrust-f0b42075981d9914c39e848377a3e12f0adf37d7.tar.gz
rust-f0b42075981d9914c39e848377a3e12f0adf37d7.zip
Auto merge of #39136 - keeperofdakeys:proc-macro-doc-test, r=alexcrichton
Stop warning when doc testing proc macro crates

Fixes #39064

Add the test option to the session struct that is passed
to phase_2_configure_and_expand function inside the
rustdoc test module.

This prevents the warning code from triggering when
parsing proc_macro_derive attributes, just like when
`--test` is normally invoked.

This change makes the warning disappear, but I'm not sure what else it might change. So this early PR is mainly to run the test suite, and to get feedback.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions