Remove some minor, unused code.
authorEric Huss <eric@huss.org>
Mon, 4 Jun 2018 15:08:37 +0000 (08:08 -0700)
committerEric Huss <eric@huss.org>
Mon, 4 Jun 2018 15:08:37 +0000 (08:08 -0700)
I think this was left behind as part of #5359.

src/cargo/util/config.rs

index 6af6dc91919260aee3cec81b9169847369383720..2b4bdf565a6137951ec08281208c3e67f1253453 100644 (file)
@@ -46,8 +46,6 @@ pub struct Config {
     home_path: Filesystem,
     /// Information about how to write messages to the shell
     shell: RefCell<Shell>,
-    /// Information on how to invoke the compiler (rustc)
-    rustc: LazyCell<Rustc>,
     /// A collection of configuration options
     values: LazyCell<HashMap<String, ConfigValue>>,
     /// The current working directory of cargo
@@ -113,7 +111,6 @@ impl Config {
         Config {
             home_path: Filesystem::new(homedir),
             shell: RefCell::new(shell),
-            rustc: LazyCell::new(),
             cwd,
             values: LazyCell::new(),
             cargo_exe: LazyCell::new(),