rust/compiler
Dylan DPC d2fdb5d1d6
Rollup merge of #101429 - compiler-errors:issue-101119, r=lcnr
Don't suggest reborrow if usage is inside a closure

I can't think of why we would ever be able to *successfully* suggest a mutable reborrow `&mut *` due to a move happening due to a closure, so just suppress it.

Fixes #101119
2022-09-05 14:15:55 +05:30
..
rustc
rustc_apfloat Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_arena Make use of [wrapping_]byte_{add,sub} 2022-08-23 19:32:37 +04:00
rustc_ast Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco 2022-09-05 14:15:51 +05:30
rustc_ast_lowering Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco 2022-09-05 14:15:51 +05:30
rustc_ast_passes Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
rustc_ast_pretty Fix global_asm macro pretty printing 2022-09-03 08:06:35 +00:00
rustc_attr Also replace the version placeholder in rustc_attr 2022-09-02 01:47:01 +02:00
rustc_borrowck Don't suggest reborrow if usage is inside a closure 2022-09-05 04:27:07 +00:00
rustc_builtin_macros Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
rustc_codegen_cranelift Auto merge of #97802 - Enselic:add-no_ignore_sigkill-feature, r=joshtriplett 2022-09-02 21:08:08 +00:00
rustc_codegen_gcc Rollup merge of #100653 - cuviper:fptoint_sat, r=michaelwoerister,antoyo 2022-08-30 16:56:09 +05:30
rustc_codegen_llvm Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
rustc_codegen_ssa Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
rustc_const_eval Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
rustc_data_structures Auto merge of #100869 - nnethercote:replace-ThinVec, r=spastorino 2022-09-01 08:01:06 +00:00
rustc_driver tracing::instrument cleanup 2022-09-01 14:54:27 +00:00
rustc_error_codes Stabilize #![feature(label_break_value)] 2022-08-23 21:14:12 -05:00
rustc_error_messages Auto merge of #100574 - Urgau:check-cfg-warn-cfg, r=petrochenkov 2022-09-03 12:02:14 +00:00
rustc_errors Rollup merge of #100928 - CleanCut:rustc_metadata_diagnostics, r=davidtwco 2022-09-03 10:33:05 +05:30
rustc_expand Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
rustc_feature Auto merge of #97802 - Enselic:add-no_ignore_sigkill-feature, r=joshtriplett 2022-09-02 21:08:08 +00:00
rustc_fs_util Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_graphviz Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_hir Rollup merge of #101420 - kraktus:doc_hir_local, r=cjgillot 2022-09-05 14:15:54 +05:30
rustc_hir_pretty Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_incremental
rustc_index Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_infer tracing::instrument cleanup 2022-09-01 14:54:27 +00:00
rustc_interface Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco 2022-09-05 14:15:51 +05:30
rustc_lexer Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_lint more clippy::perf fixes 2022-09-03 22:57:22 +02:00
rustc_lint_defs Don't fire rust_2021_incompatible_closure_captures in edition = 2021 2022-09-04 20:04:51 +04:00
rustc_llvm Rollup merge of #101025 - semarie:openbsd-archs, r=petrochenkov 2022-08-31 07:57:58 +02:00
rustc_log Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_macros Allow deriving multiple subdiagnostics using one SessionSubdiagnostic 2022-09-01 21:18:01 +02:00
rustc_metadata Rollup merge of #101391 - matthiaskrgr:perf0309, r=oli-obk 2022-09-05 14:15:52 +05:30
rustc_middle Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
rustc_mir_build Use boxed slices in PatKind. 2022-09-02 07:26:22 +10:00
rustc_mir_dataflow Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obk 2022-08-29 06:34:43 +02:00
rustc_mir_transform remap mir before running optimization passes 2022-09-04 20:35:23 +08:00
rustc_monomorphize Make const_eval_select a real intrinsic 2022-09-04 20:35:23 +08:00
rustc_parse remove redundant clones 2022-09-03 07:58:41 +02:00
rustc_parse_format Separate CountIsStar from CountIsParam in rustc_parse_format. 2022-08-25 14:49:09 +02:00
rustc_passes Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco 2022-09-05 14:15:51 +05:30
rustc_plugin_impl Migrate rustc_plugin_impl to SessionDiagnostic 2022-08-22 16:35:05 +01:00
rustc_privacy Rollup merge of #100147 - Bryanskiy:private-in-public, r=petrochenkov 2022-09-02 11:34:48 +02:00
rustc_query_impl Don't create two new closures for each query 2022-09-01 18:47:54 -05:00
rustc_query_system Don't create two new closures for each query 2022-09-01 18:47:54 -05:00
rustc_resolve Rollup merge of #101391 - matthiaskrgr:perf0309, r=oli-obk 2022-09-05 14:15:52 +05:30
rustc_save_analysis Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco 2022-09-05 14:15:51 +05:30
rustc_serialize Replace rustc_data_structures::thin_vec::ThinVec with thin_vec::ThinVec. 2022-08-29 15:42:13 +10:00
rustc_session Auto merge of #100574 - Urgau:check-cfg-warn-cfg, r=petrochenkov 2022-09-03 12:02:14 +00:00
rustc_smir Add diagnostic translation lints to crates that don't emit them 2022-08-18 19:29:02 +01:00
rustc_span Auto merge of #100759 - fee1-dead-contrib:const_eval_select_real_intrinsic, r=oli-obk,RalfJung 2022-09-05 01:35:01 +00:00
rustc_symbol_mangling Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
rustc_target rustc_target: Refactor internal linker flavors slightly 2022-09-01 16:54:52 +03:00
rustc_trait_selection Auto merge of #101296 - compiler-errors:head-span-for-enclosing-scope, r=oli-obk 2022-09-04 13:03:07 +00:00
rustc_traits Fix a bunch of typo 2022-08-31 18:24:55 +08:00
rustc_transmute Auto merge of #100726 - jswrenn:transmute, r=oli-obk 2022-09-04 07:55:44 +00:00
rustc_ty_utils Box PatKind::Range. 2022-09-02 07:26:22 +10:00
rustc_type_ir ADD - diagnostic lints to type_ir 2022-08-18 13:33:03 -04:00
rustc_typeck Rollup merge of #101409 - WaffleLapkin:rust_2021_compatibility_no_warn_in_2021_crates, r=TaKO8Ki 2022-09-05 14:15:53 +05:30