rust/compiler
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
..
rustc
rustc_apfloat Backport another LLVM commit to rustc_apfloat 2020-10-04 02:02:25 +02:00
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_builtin_macros
rustc_codegen_llvm Rollup merge of #77521 - bjorn3:target_feature_whitelist, r=lcnr 2020-10-04 15:45:48 +02:00
rustc_codegen_ssa Rollup merge of #77521 - bjorn3:target_feature_whitelist, r=lcnr 2020-10-04 15:45:48 +02:00
rustc_data_structures Stable hashing: add comments and tests concerning platform-independence 2020-09-30 00:57:35 -07:00
rustc_driver Rollup merge of #75143 - oli-obk:tracing, r=RalfJung 2020-10-04 11:44:49 +09:00
rustc_error_codes Create E0777 error code for "invalid literal in derive" 2020-10-01 20:41:57 +02:00
rustc_errors
rustc_expand Improve E0777 help message 2020-10-02 16:33:44 +02:00
rustc_feature Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank 2020-10-05 02:29:36 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer
rustc_interface Add -Zprecise-enum-drop-elaboration 2020-10-01 11:31:43 -07:00
rustc_lexer
rustc_lint Uplift drop-bounds lint from clippy 2020-10-01 12:06:33 -07:00
rustc_llvm Update LLVM and add Unsupported diagnostic 2020-09-30 14:57:37 +01:00
rustc_macros
rustc_metadata rustc_metadata: Do not forget to encode inherent impls for foreign types 2020-09-30 22:58:35 +03:00
rustc_middle Remember the MirSource for each Body 2020-10-04 11:01:38 -07:00
rustc_mir Rollup merge of #77512 - ecstatic-morse:const-checking-allow-abort, r=RalfJung 2020-10-05 02:29:40 +02:00
rustc_mir_build HACK: Overwrite the MIR's source with the correct const param 2020-10-04 11:02:16 -07:00
rustc_parse Rollup merge of #77444 - estebank:pat-field-label, r=davidtwco 2020-10-02 20:27:16 +02:00
rustc_parse_format
rustc_passes Rollup merge of #76329 - GuillaumeGomez:doc-alias-crate-level, r=matthewjasper 2020-10-05 02:29:27 +02:00
rustc_plugin_impl
rustc_privacy
rustc_query_system
rustc_resolve Rollup merge of #77439 - varkor:min_const_generics-tests, r=lcnr,estebank 2020-10-05 02:29:36 +02:00
rustc_save_analysis
rustc_serialize
rustc_session Enforce crate level attributes checks 2020-10-04 13:36:47 +02:00
rustc_span Implement Make handle_alloc_error default to panic (for no_std + liballoc) 2020-10-02 09:00:29 +02:00
rustc_symbol_mangling Permit ty::Bool in const generics for v0 mangling 2020-10-02 09:45:48 -04:00
rustc_target Returns values up to 2*usize by value 2020-10-02 00:23:25 +02:00
rustc_trait_selection Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00
rustc_traits
rustc_ty
rustc_typeck Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank 2020-10-05 02:29:42 +02:00