rustc_plugin 0.5.26

Framework for integrating a rustc plugin with Cargo
docs.rs failed to build rustc_plugin-0.5.26
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

A framework for running up custom cargo commands that use rustc_private.

Most of this file is either directly copy/pasted, or otherwise generalized from the Clippy driver: https://github.com/rust-lang/rust-clippy/tree/master/src