rust/compiler
Dylan DPC 14d06467f0
Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk
move Option::as_slice to intrinsic

````@scottmcm```` suggested on #109095 I use a direct approach of unpacking the operation in MIR lowering, so here's the implementation.

cc ````@nikic```` as this should hopefully unblock #107224 (though perhaps other changes to the prior implementation, which I left for bootstrapping, are needed).
2023-03-23 00:00:31 +05:30
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_builtin_macros
rustc_codegen_cranelift
rustc_codegen_gcc
rustc_codegen_llvm
rustc_codegen_ssa LocalCrate key 2023-03-21 15:38:52 +00:00
rustc_const_eval Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_data_structures migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_driver
rustc_driver_impl migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_error_codes
rustc_error_messages
rustc_errors Rollup merge of #109403 - chenyukang:yukang/fix-109396, r=estebank 2023-03-21 19:00:13 +01:00
rustc_expand
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk 2023-03-23 00:00:31 +05:30
rustc_hir_analysis Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk 2023-03-23 00:00:31 +05:30
rustc_hir_pretty
rustc_hir_typeck Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_incremental Use local key in providers 2023-03-21 15:38:51 +00:00
rustc_index
rustc_infer Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_interface
rustc_lexer
rustc_lint Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata LocalCrate key 2023-03-21 15:38:52 +00:00
rustc_middle Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_mir_build Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_mir_dataflow
rustc_mir_transform Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk 2023-03-23 00:00:31 +05:30
rustc_monomorphize
rustc_parse Refactor handle_missing_lit. 2023-03-21 09:28:52 +11:00
rustc_parse_format
rustc_passes LocalCrate key 2023-03-21 15:38:52 +00:00
rustc_plugin_impl
rustc_privacy Use local key in providers 2023-03-21 15:38:51 +00:00
rustc_query_impl AsLocalKey trait 2023-03-21 15:38:52 +00:00
rustc_query_system Auto merge of #109046 - Zoxc:split-execute-job, r=cjgillot,michaelwoerister 2023-03-20 23:53:09 +00:00
rustc_resolve
rustc_serialize
rustc_session migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_smir
rustc_span Rollup merge of #109179 - llogiq:intrinsically-option-as-slice, r=eholk 2023-03-23 00:00:31 +05:30
rustc_symbol_mangling Use local key in providers 2023-03-21 15:38:51 +00:00
rustc_target
rustc_trait_selection Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_traits
rustc_transmute
rustc_ty_utils Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errors 2023-03-22 05:33:18 +00:00
rustc_type_ir