rust/compiler
bors 6df26f897c Auto merge of #84353 - estebank:as-ref-mir, r=davidtwco
Suggest `.as_ref()` on borrow error involving `Option`/`Result`

When encountering a E0382 borrow error involving an `Option` or `Result`
provide a suggestion to use `.as_ref()` on the prior move location to
avoid the move.

Fix #84165.
2021-04-20 14:05:12 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Auto merge of #84334 - klensy:typo-compiler, r=jyn514 2021-04-20 00:16:45 +00:00
rustc_ast_lowering
rustc_ast_passes Auto merge of #83799 - crlf0710:stablize_non_ascii_idents, r=Manishearth 2021-04-18 23:28:43 +00:00
rustc_ast_pretty
rustc_attr
rustc_builtin_macros builtin derive macros: fix error with const generics default 2021-04-16 16:29:11 +02:00
rustc_codegen_cranelift Add more SIMD math.h intrinsics 2021-04-14 15:25:06 -07:00
rustc_codegen_llvm Don't set fast(-math) for certain simd ops 2021-04-17 23:33:10 +03:00
rustc_codegen_ssa Fix typos in rustc_codegen_ssa/src/back/write.rs. 2021-04-14 16:27:01 +01:00
rustc_data_structures
rustc_driver
rustc_error_codes Auto merge of #83799 - crlf0710:stablize_non_ascii_idents, r=Manishearth 2021-04-18 23:28:43 +00:00
rustc_errors fix few typos 2021-04-19 15:57:08 +03:00
rustc_expand fix few typos 2021-04-19 15:57:08 +03:00
rustc_feature Auto merge of #84091 - tmiasko:check-attrs-sym, r=davidtwco 2021-04-19 18:05:44 +00:00
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_pretty
rustc_incremental
rustc_index
rustc_infer fix few typos 2021-04-19 15:57:08 +03:00
rustc_interface Track -C link-dead-code during incremental compilation 2021-04-15 15:05:26 -04:00
rustc_lexer
rustc_lint fix few typos 2021-04-19 15:57:08 +03:00
rustc_lint_defs fix few typos 2021-04-19 15:57:08 +03:00
rustc_llvm Don't set fast(-math) for certain simd ops 2021-04-17 23:33:10 +03:00
rustc_macros
rustc_metadata
rustc_middle Auto merge of #84334 - klensy:typo-compiler, r=jyn514 2021-04-20 00:16:45 +00:00
rustc_mir Auto merge of #84353 - estebank:as-ref-mir, r=davidtwco 2021-04-20 14:05:12 +00:00
rustc_mir_build Auto merge of #84295 - richkadel:continue-coverage, r=tmandry 2021-04-20 03:08:24 +00:00
rustc_parse fix few typos 2021-04-19 15:57:08 +03:00
rustc_parse_format
rustc_passes Auto merge of #84091 - tmiasko:check-attrs-sym, r=davidtwco 2021-04-19 18:05:44 +00:00
rustc_plugin_impl
rustc_privacy fix few typos 2021-04-19 15:57:08 +03:00
rustc_query_impl
rustc_query_system
rustc_resolve fix few typos 2021-04-19 15:57:08 +03:00
rustc_save_analysis
rustc_serialize
rustc_session Track -C link-dead-code during incremental compilation 2021-04-15 15:05:26 -04:00
rustc_span fix few typos 2021-04-19 15:57:08 +03:00
rustc_symbol_mangling
rustc_target Auto merge of #84334 - klensy:typo-compiler, r=jyn514 2021-04-20 00:16:45 +00:00
rustc_trait_selection fix few typos 2021-04-19 15:57:08 +03:00
rustc_traits
rustc_ty_utils
rustc_type_ir
rustc_typeck Auto merge of #84334 - klensy:typo-compiler, r=jyn514 2021-04-20 00:16:45 +00:00