rust-lang/rust — pull request #16157 by alexcrichton (2014-08-01 03:21:32+00:00)
Title: rustdoc: Use --crate-name with --test

This ensures that the name of the crate is set from the command line for tests
so the auto-injection of `extern crate ` in doc tests works correctly.