rust/compiler
bors e82b65026d Auto merge of #85538 - r00ster91:iterrepeat, r=Mark-Simulacrum
Replace some `std::iter::repeat` with `str::repeat`

I noticed that there were some instances where `std::iter::repeat` would be used to repeat a string or a char to take a specific count of it and then collect it into a `String` when `str::repeat` is actually much faster and better for that.

See also: https://github.com/rust-lang/rust-clippy/issues/7260.
2021-06-20 20:07:13 +00:00
..
rustc use jemallocator in rustc/rustdoc 2021-04-04 14:10:26 -07:00
rustc_apfloat Use the now available implementation of IntoIterator for arrays 2021-06-14 23:40:09 +02:00
rustc_arena Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
rustc_ast Use AttrVec for Arm, FieldDef, and Variant 2021-06-17 08:04:54 +09:00
rustc_ast_lowering Auto merge of #86321 - JohnTitor:rollup-q61c8q4, r=JohnTitor 2021-06-15 20:15:23 +00:00
rustc_ast_passes Auto merge of #86164 - FabianWolff:issue-86053, r=davidtwco 2021-06-17 06:34:12 +00:00
rustc_ast_pretty Use AttrVec for Arm, FieldDef, and Variant 2021-06-17 08:04:54 +09:00
rustc_attr remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
rustc_builtin_macros Rollup merge of #86388 - JohnTitor:static-symbol-s, r=LeSeulArtichaut 2021-06-17 23:41:01 +02:00
rustc_codegen_cranelift Auto merge of #86291 - crlf0710:trait_vtbl_refactor, r=bjorn3 2021-06-16 07:20:27 +00:00
rustc_codegen_llvm Auto merge of #86020 - nagisa:nagisa/outliner, r=pnkfelix 2021-06-10 15:11:01 +00:00
rustc_codegen_ssa Refactor to make interpreter and codegen backend neutral to vtable internal representation. 2021-06-15 01:59:00 +08:00
rustc_data_structures Prefer partition_point to look up assoc items 2021-06-17 11:40:37 +09:00
rustc_driver Rustfmt 2021-06-04 13:20:05 +02:00
rustc_error_codes Fix typo with custom a custom -> with a custom 2021-06-13 21:21:45 +02:00
rustc_errors Auto merge of #85903 - bjorn3:rustc_serialize_cleanup, r=varkor 2021-06-07 14:40:26 +00:00
rustc_expand Use AttrVec for Arm, FieldDef, and Variant 2021-06-17 08:04:54 +09:00
rustc_feature Add support for using qualified paths with structs in expression and pattern 2021-06-10 13:18:41 +02:00
rustc_fs_util
rustc_graphviz Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
rustc_hir Auto merge of #85421 - Smittyvb:rm_pushpop_unsafe, r=matthewjasper 2021-06-18 14:17:53 +00:00
rustc_hir_pretty Remove some last remants of {push,pop}_unsafe! 2021-06-06 17:04:03 -04:00
rustc_incremental Do not require the DefPathTable to construct the on-disk cache. 2021-06-08 22:23:03 +02:00
rustc_index Remove unused feature gates 2021-05-31 13:55:43 +02:00
rustc_infer Auto merge of #86164 - FabianWolff:issue-86053, r=davidtwco 2021-06-17 06:34:12 +00:00
rustc_interface Auto merge of #85284 - eggyal:custom-profiler-runtime, r=jackh726 2021-06-18 04:39:01 +00:00
rustc_lexer Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
rustc_lint Lint for unused borrows as part of UNUSED_MUST_USE 2021-06-18 15:09:40 +08:00
rustc_lint_defs Fix deny(invalid_doc_attributes) 2021-06-04 15:20:26 -04:00
rustc_llvm Auto merge of #84171 - ricobbe:raw-dylib-via-llvm, r=petrochenkov 2021-06-06 03:59:17 +00:00
rustc_macros Lint for unused borrows as part of UNUSED_MUST_USE 2021-06-18 15:09:40 +08:00
rustc_metadata Auto merge of #85284 - eggyal:custom-profiler-runtime, r=jackh726 2021-06-18 04:39:01 +00:00
rustc_middle Auto merge of #86437 - nikomatsakis:tait-docs, r=oli-obk 2021-06-19 12:41:10 +00:00
rustc_mir Auto merge of #86437 - nikomatsakis:tait-docs, r=oli-obk 2021-06-19 12:41:10 +00:00
rustc_mir_build Auto merge of #86460 - JohnTitor:use-static-in-pattern-err, r=oli-obk 2021-06-19 19:46:02 +00:00
rustc_parse Use AttrVec for Arm, FieldDef, and Variant 2021-06-17 08:04:54 +09:00
rustc_parse_format remove cfg(bootstrap) 2021-05-24 11:07:48 -04:00
rustc_passes Fix ICE when using #[doc(keyword = "...")] on non-items 2021-06-17 16:45:26 +02:00
rustc_plugin_impl Use () for plugin_registrar_fn. 2021-05-12 13:58:43 +02:00
rustc_privacy Add more tests + visit_ty in some places 2021-06-09 19:28:41 +01:00
rustc_query_impl Auto merge of #85154 - cjgillot:lessfn, r=bjorn3 2021-06-15 14:52:58 +00:00
rustc_query_system Auto merge of #85154 - cjgillot:lessfn, r=bjorn3 2021-06-15 14:52:58 +00:00
rustc_resolve Rollup merge of #85608 - scottmcm:stabilize-control-flow-enum-basics, r=m-ou-se 2021-06-15 17:40:08 +09:00
rustc_save_analysis Revert "Merge CrateDisambiguator into StableCrateId" 2021-06-07 10:37:45 +02:00
rustc_serialize Use the now available implementation of IntoIterator for arrays 2021-06-14 23:40:09 +02:00
rustc_session Auto merge of #85284 - eggyal:custom-profiler-runtime, r=jackh726 2021-06-18 04:39:01 +00:00
rustc_span Make s pre-interned 2021-06-17 09:45:19 +09:00
rustc_symbol_mangling Revert "Merge CrateDisambiguator into StableCrateId" 2021-06-07 10:37:45 +02:00
rustc_target Auto merge of #83572 - pkubaj:patch-1, r=nagisa 2021-06-17 18:06:44 +00:00
rustc_trait_selection add various coments to explain how the code works 2021-06-18 11:44:56 -04:00
rustc_traits Stabilize ops::ControlFlow (just the type) 2021-05-23 13:20:05 -07:00
rustc_ty_utils Revert "Merge CrateDisambiguator into StableCrateId" 2021-06-07 10:37:45 +02:00
rustc_type_ir Remove unused feature gates 2021-05-31 13:55:43 +02:00
rustc_typeck Auto merge of #85538 - r00ster91:iterrepeat, r=Mark-Simulacrum 2021-06-20 20:07:13 +00:00