rust/compiler/rustc_trait_selection/src
Dylan DPC 9dbc9ed870
Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank
Replace some once(x).chain(once(y)) with [x, y] IntoIter

Now that we have by-value array iterators that are [already used](25c8c53dd9/compiler/rustc_hir/src/def.rs (L305-L307))...

For example,
```diff
-        once(self.type_ns).chain(once(self.value_ns)).chain(once(self.macro_ns)).filter_map(|it| it)
+        IntoIter::new([self.type_ns, self.value_ns, self.macro_ns]).filter_map(|it| it)
```
2020-10-05 02:29:42 +02:00
..
traits Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00
autoderef.rs Note when a a move/borrow error is caused by a deref coercion 2020-09-10 20:56:20 -04:00
infer.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs Replace some once(x).chain(once(y)) with [x, y] IntoIter 2020-10-03 16:51:43 -07:00
opaque_types.rs Remove def_id field from ParamEnv 2020-09-09 10:14:31 +02:00