rust/compiler
bors 872631d0f0 Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser
Use `as_deref` in compiler (but only where it makes sense)

This simplifies some code :3

(there are some changes that are not exacly `as_deref`, but more like "clever `Option`/`Result` method use")
2022-11-24 00:17:35 +00:00
..
rustc
rustc_apfloat
rustc_arena rustc_arena: remove a couple of ref patterns 2022-11-22 18:49:29 +00:00
rustc_ast Fix an ICE parsing a malformed attribute. 2022-11-23 12:11:14 +11:00
rustc_ast_lowering Rollup merge of #104721 - WaffleLapkin:deref-harder, r=oli-obk 2022-11-23 20:32:37 +05:30
rustc_ast_passes
rustc_ast_pretty Split MacArgs in two. 2022-11-22 09:04:15 +11:00
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnr 2022-11-22 22:54:38 -05:00
rustc_builtin_macros Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_codegen_cranelift Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_codegen_gcc
rustc_codegen_llvm Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_codegen_ssa
rustc_const_eval Use tcx.require_lang_item instead of unwrapping 2022-11-22 17:19:19 +00:00
rustc_data_structures
rustc_driver Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_error_codes
rustc_error_messages Rollup merge of #104621 - YC:master, r=davidtwco 2022-11-22 22:54:40 -05:00
rustc_errors Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_expand Rollup merge of #104638 - Nilstrieb:macro-diagnostics, r=compiler-errors 2022-11-22 01:26:08 -05:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir fix tests, update size asserts 2022-11-22 23:12:26 +01:00
rustc_hir_analysis Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_incremental
rustc_index
rustc_infer Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnr 2022-11-22 22:54:38 -05:00
rustc_interface Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_lexer Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_lint Rollup merge of #104359 - Nilstrieb:plus-one, r=fee1-dead 2022-11-22 22:54:39 -05:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_middle Rollup merge of #103488 - oli-obk:impl_trait_for_tait, r=lcnr 2022-11-22 22:54:38 -05:00
rustc_mir_build Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_mir_dataflow Allow iterators instead of requiring slices that will get turned into iterators 2022-11-21 20:33:55 +00:00
rustc_mir_transform Allow iterators instead of requiring slices that will get turned into iterators 2022-11-21 20:33:55 +00:00
rustc_monomorphize Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00
rustc_parse Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_parse_format
rustc_passes Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Auto merge of #104711 - Dylan-DPC:rollup-gkw1qr8, r=Dylan-DPC 2022-11-22 13:18:45 +00:00
rustc_save_analysis Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_serialize
rustc_session Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_smir
rustc_span Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_symbol_mangling Unreserve braced enum variants in value namespace 2022-11-21 22:40:06 +03:00
rustc_target Rollup merge of #102293 - ecnelises:aix.initial, r=davidtwco 2022-11-23 06:40:22 +09:00
rustc_trait_selection Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
rustc_traits Pass ObligationCtxt from enter_canonical_trait_query and use ObligationCtxt API 2022-11-23 09:36:03 -03:00
rustc_transmute
rustc_ty_utils also sort fields by niche sizes to retain optimizations 2022-11-22 23:12:26 +01:00
rustc_type_ir Remove some unnecessary slicing 2022-11-21 20:38:55 +00:00