From: bors Date: Wed, 18 Jan 2017 02:45:13 +0000 (+0000) Subject: Auto merge of #3552 - keeperofdakeys:proc-macro-doc-test, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~11^2~31 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=493abf58f66f21b24f11b63fe6a4e5a5c10fdd2c;p=cargo.git Auto merge of #3552 - keeperofdakeys:proc-macro-doc-test, r=alexcrichton Allow doc tests to run on proc macro crates Fixes https://github.com/rust-lang/cargo/issues/3545 Since `--test` works for rustc, doctests should also work. Currently cargo isn't setup to run doctests for proc macro crates, this PR adds them to the list. Currently rustdoc can run doctests for proc-macro crates, but the `phase_2_configure_and_expand` call` triggers the following warning: ``` the `#[proc_macro_derive]` attribute is only usable with crates of the `proc-macro` crate type ``` So perhaps this PR should wait until I've finished creating/testing the PR for rustc. --- 493abf58f66f21b24f11b63fe6a4e5a5c10fdd2c