rust/compiler
bors 4322a785cc Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin
Replace `&Vec<_>`s with `&[_]`s

It's generally preferable to use `&[_]` since it's one less indirection and it can be created from types other that `Vec`.

I've left `&Vec` in some locals where it doesn't really matter, in cases where `TypeFoldable` is expected (`TypeFoldable: Clone` so slice can't implement it) and in cases where it's `&TypeAliasThatIsActiallyVec`. Nothing important, really, I was just a little annoyed by `visit_generic_param_vec` :D

r? `@compiler-errors`
2022-06-05 09:30:53 +00:00
..
rustc Auto merge of #96737 - ChrisDenton:win-manifest, r=wesleywiser 2022-06-02 07:58:29 +00:00
rustc_apfloat
rustc_arena
rustc_ast Remove emit_unit 2022-06-03 17:02:14 +00:00
rustc_ast_lowering Auto merge of #97717 - matthiaskrgr:rollup-lalaii2, r=matthiaskrgr 2022-06-04 02:10:35 +00:00
rustc_ast_passes Support the #[expect] attribute on fn parameters (RFC-2383) 2022-06-04 00:50:45 +02:00
rustc_ast_pretty Revert #96682. 2022-06-02 11:22:16 +10:00
rustc_attr RFC3239: Implement compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
rustc_borrowck Rollup merge of #97415 - cjgillot:is-late-bound-solo, r=estebank 2022-06-03 17:10:51 +02:00
rustc_builtin_macros Basic compiler infra 2022-06-02 09:00:04 -03:00
rustc_codegen_cranelift add cast kind of from_exposed_addr (int-to-ptr casts) 2022-06-02 10:46:13 -04:00
rustc_codegen_gcc Finish bumping stage0 2022-05-27 07:36:17 -04:00
rustc_codegen_llvm Auto merge of #97214 - Mark-Simulacrum:stage0-bump, r=pietroalbini 2022-05-29 16:28:21 +00:00
rustc_codegen_ssa Fix emscripten linker invocation 2022-06-03 17:02:14 +00:00
rustc_const_eval Rollup merge of #97663 - RalfJung:keine-halben-sachen, r=oli-obk 2022-06-03 11:18:25 +02:00
rustc_data_structures Fix stacked borrows invalidation in rustc_data_structures sip128 2022-06-04 17:46:36 +02:00
rustc_driver Remove support for -Zast-json and -Zast-json-noexpand 2022-06-03 16:46:20 +00:00
rustc_error_codes Use the same message as type & const generics. 2022-06-03 08:26:10 +02:00
rustc_error_messages migrate check_for_for_in_in_typo diagnostic 2022-05-31 16:28:05 -05:00
rustc_errors Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin 2022-06-05 09:30:53 +00:00
rustc_expand Basic compiler infra 2022-06-02 09:00:04 -03:00
rustc_feature Auto merge of #97654 - Dylan-DPC:rollup-w6zrzxf, r=Dylan-DPC 2022-06-02 16:04:42 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir Make hir().get_generics and generics_of consistent. 2022-06-03 23:07:04 +02:00
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer Replace &Vec<_>s with &[_]s 2022-06-03 20:42:42 +04:00
rustc_interface Remove support for -Zast-json and -Zast-json-noexpand 2022-06-03 16:46:20 +00:00
rustc_lexer
rustc_lint Fix TyKind lint, make consts no longer fn, etc 2022-05-28 11:38:22 -07:00
rustc_lint_defs Use serde_json for json error messages 2022-06-03 16:46:19 +00:00
rustc_llvm
rustc_log clippy::complexity fixes 2022-05-26 13:14:24 +02:00
rustc_macros Inline many methods of Encoder 2022-06-03 17:01:53 +00:00
rustc_metadata Remove emit_unit 2022-06-03 17:02:14 +00:00
rustc_middle Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin 2022-06-05 09:30:53 +00:00
rustc_mir_build Replace &Vec<_>s with &[_]s 2022-06-03 20:42:42 +04:00
rustc_mir_dataflow Add a pointer to address cast kind 2022-05-31 00:00:00 +00:00
rustc_mir_transform Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin 2022-06-05 09:30:53 +00:00
rustc_monomorphize Auto merge of #97168 - SparrowLii:accesses, r=cjgillot 2022-05-26 11:15:15 +00:00
rustc_parse Rollup merge of #97587 - pvdrz:maybe-recover-from-bad-qpath-stage-2, r=davidtwco 2022-06-02 11:13:24 +02:00
rustc_parse_format
rustc_passes Encode MIR for 'unreachable' non-generic fns 2022-06-03 17:39:10 -07:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl Remove emit_unit 2022-06-03 17:02:14 +00:00
rustc_query_system Address review comments. 2022-06-02 12:22:04 +10:00
rustc_resolve Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin 2022-06-05 09:30:53 +00:00
rustc_save_analysis
rustc_serialize Remove emit_unit 2022-06-03 17:02:14 +00:00
rustc_session Remove support for -Zast-json and -Zast-json-noexpand 2022-06-03 16:46:20 +00:00
rustc_span Inline many methods of Encoder 2022-06-03 17:01:53 +00:00
rustc_symbol_mangling
rustc_target Auto merge of #97577 - betrusted-io:add-xous-target, r=nagisa 2022-06-05 07:03:50 +00:00
rustc_trait_selection Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin 2022-06-05 09:30:53 +00:00
rustc_traits
rustc_ty_utils Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors 2022-05-30 09:19:03 +00:00
rustc_type_ir Inline many methods of Encoder 2022-06-03 17:01:53 +00:00
rustc_typeck Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkin 2022-06-05 09:30:53 +00:00