diff options
| author | bors <bors@rust-lang.org> | 2017-02-05 05:54:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-02-05 05:54:44 +0000 |
| commit | 696f5c1fc695494053709ae3b18b4c6a65b619a6 (patch) | |
| tree | 885324aad755a824bad88cd4a6930ef30099a909 /src/rustllvm/RustWrapper.cpp | |
| parent | d7777ae682d498ff43e3d6b65a7a8d0b2361fa0b (diff) | |
| parent | ec356bb1a7654f38bd784028b6c0aa69518dafee (diff) | |
| download | rust-696f5c1fc695494053709ae3b18b4c6a65b619a6.tar.gz rust-696f5c1fc695494053709ae3b18b4c6a65b619a6.zip | |
Auto merge of #38161 - durka:rustdoc-crate-attrs, r=alexcrichton
rustdoc: fix doctests with non-feature crate attrs Fixes #38129. The book says that any top-level crate attributes at the beginning of a doctest are moved outside the generated `fn main`, but it was only checking for `#