about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa
diff options
context:
space:
mode:
authorIlija Tovilo <ilija.tovilo@me.com>2019-07-31 21:00:35 +0200
committerIlija Tovilo <ilija.tovilo@me.com>2019-08-08 22:39:15 +0200
commit3a6a29b4ecfdb7f641ca699fcd66a09b4baaae6a (patch)
tree9d577f11fb6f00c835bf70b13d8a90e7934719e1 /src/librustc_codegen_ssa
parentd4abb08be6c3a06a14e285396f5e3ef367584f77 (diff)
downloadrust-3a6a29b4ecfdb7f641ca699fcd66a09b4baaae6a.tar.gz
rust-3a6a29b4ecfdb7f641ca699fcd66a09b4baaae6a.zip
Use associated_type_bounds where applicable - closes #61738
Diffstat (limited to 'src/librustc_codegen_ssa')
-rw-r--r--src/librustc_codegen_ssa/back/command.rs4
-rw-r--r--src/librustc_codegen_ssa/lib.rs1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/librustc_codegen_ssa/back/command.rs b/src/librustc_codegen_ssa/back/command.rs
index d610805b5bb..340cc772e5f 100644
--- a/src/librustc_codegen_ssa/back/command.rs
+++ b/src/librustc_codegen_ssa/back/command.rs
@@ -50,8 +50,8 @@ impl Command {
     }
 
     pub fn args<I>(&mut self, args: I) -> &mut Command
-        where I: IntoIterator,
-              I::Item: AsRef<OsStr>,
+    where
+        I: IntoIterator<Item: AsRef<OsStr>>,
     {
         for arg in args {
             self._arg(arg.as_ref());
diff --git a/src/librustc_codegen_ssa/lib.rs b/src/librustc_codegen_ssa/lib.rs
index 73ef16e0091..0e3c3a77b28 100644
--- a/src/librustc_codegen_ssa/lib.rs
+++ b/src/librustc_codegen_ssa/lib.rs
@@ -11,6 +11,7 @@
 #![feature(nll)]
 #![feature(trusted_len)]
 #![feature(mem_take)]
+#![feature(associated_type_bounds)]
 
 #![recursion_limit="256"]