]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #37826 - keeperofdakeys:proc-macro-test, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 19 Nov 2016 19:28:50 +0000 (13:28 -0600)
committerGitHub <noreply@github.com>
Sat, 19 Nov 2016 19:28:50 +0000 (13:28 -0600)
Show a better error when using --test with #[proc_macro_derive]

Fixes https://github.com/rust-lang/rust/issues/37480

Currently using `--test` with a crate that contains a `#[proc_macro_derive]` attribute causes an error. This PR doesn't attempt to fix the issue itself, or determine what tesing of a proc_macro_derive crate should be - just to provide a better error message.

1  2 
src/librustc_driver/driver.rs

Simple merge