Closed
Description
In investigating #43572 I was generating some source code, and using the shell script listed in #43572 we can see:
$ rustc +nightly -V
rustc 1.21.0-nightly (aac223f4f 2017-07-30)
$ sh foo.sh
$ rustc +nightly lots-of-unused.rs -Z time-passes 2>&1 | grep 'expansion'
time: 1.567; rss: 110MB expansion
That's a lot of time to expand a crate that doesn't have any macros in it!