rust/compiler
Dylan DPC fe727e4dfc
Rollup merge of #97370 - compiler-errors:else-no-if-2, r=Dylan-DPC
Minor improvement on else-no-if diagnostic

Don't suggest wrapping in block since it's highly likely to be a missing `if` after `else`. Also rework message a bit (open to further suggestions).

cc: https://github.com/rust-lang/rust/pull/97298#discussion_r880933431

r? `@estebank`
2022-05-25 10:48:30 +02:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot 2022-05-23 07:43:50 +02:00
rustc_ast_lowering rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
rustc_ast_passes Remove feature: crate visibility modifier 2022-05-21 14:22:06 -04:00
rustc_ast_pretty Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot 2022-05-23 07:43:50 +02:00
rustc_attr RFC3239: Implement compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
rustc_borrowck Refactor call terminator to always hold a destination place 2022-05-23 17:49:04 -04:00
rustc_builtin_macros rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
rustc_codegen_cranelift Add flag for stricter checks on uninit/zeroed 2022-05-24 14:26:52 +01:00
rustc_codegen_gcc Handle tmm_reg in rustc_codegen_gcc 2022-05-17 06:34:58 -04:00
rustc_codegen_llvm Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
rustc_codegen_ssa Add flag for stricter checks on uninit/zeroed 2022-05-24 14:26:52 +01:00
rustc_const_eval Add flag for stricter checks on uninit/zeroed 2022-05-24 14:26:52 +01:00
rustc_data_structures
rustc_driver
rustc_error_codes rustc: Stricter checking for #[link] attributes 2022-05-15 02:45:47 +03:00
rustc_error_messages migrate maybe_recover_from_bad_type_plus diagnostic 2022-05-16 17:16:27 -05:00
rustc_errors Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
rustc_expand rustc_parse: Move AST -> TokenStream conversion logic to rustc_ast 2022-05-22 12:01:07 +03:00
rustc_feature Rollup merge of #96913 - Urgau:rfc3239-part2, r=petrochenkov 2022-05-25 10:48:28 +02:00
rustc_fs_util
rustc_graphviz update graphviz links 2022-05-12 18:31:42 +09:00
rustc_hir Lifetime variance fixes for rustdoc 2022-05-22 14:22:40 -07:00
rustc_hir_pretty
rustc_incremental rename visit item-like methods 2022-05-13 11:46:06 -04:00
rustc_index Auto merge of #95418 - cjgillot:more-disk, r=davidtwco 2022-05-20 20:49:55 +00:00
rustc_infer Rollup merge of #97292 - compiler-errors:tcxify-rustc, r=davidtwco 2022-05-23 15:11:04 +02:00
rustc_interface typo 2022-05-23 22:51:34 +02:00
rustc_lexer
rustc_lint Rollup merge of #97266 - est31:unknown_lints_cfg_attr, r=lcnr 2022-05-25 07:08:42 +09:00
rustc_lint_defs Fix typo 2022-05-23 14:07:40 +02:00
rustc_llvm Add LLVM based mingw-w64 targets 2022-05-13 20:14:15 +02:00
rustc_log rustc_log: add env var to set verbose entry/exit behavior 2022-05-11 09:14:31 +02:00
rustc_macros formatting 2022-05-19 09:02:50 -05:00
rustc_metadata Make Lazy not care about lifetimes until decode 2022-05-24 15:54:44 -07:00
rustc_middle Make Lazy not care about lifetimes until decode 2022-05-24 15:54:44 -07:00
rustc_mir_build Rollup merge of #95953 - JakobDegen:repeat-leak, r=oli-obk 2022-05-25 10:48:27 +02:00
rustc_mir_dataflow Refactor call terminator to always hold a destination place 2022-05-23 17:49:04 -04:00
rustc_mir_transform Refactor call terminator to always hold a destination place 2022-05-23 17:49:04 -04:00
rustc_monomorphize Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
rustc_parse Minor improvement on else-no-if diagnostic 2022-05-24 15:22:13 -07:00
rustc_parse_format
rustc_passes Auto merge of #95563 - dingxiangfei2009:dxf-rfc66-refactor, r=nikomatsakis 2022-05-22 09:00:30 +00:00
rustc_plugin_impl
rustc_privacy Rollup merge of #97096 - tmiasko:reachable-constructor, r=petrochenkov 2022-05-18 07:40:58 +09:00
rustc_query_impl Auto merge of #97239 - jhpratt:remove-crate-vis, r=joshtriplett 2022-05-21 06:38:49 +00:00
rustc_query_system
rustc_resolve Rollup merge of #97240 - TaKO8Ki:improve-errors-about-typos-on-variables, r=compiler-errors 2022-05-24 12:18:30 +09:00
rustc_save_analysis [save-analysis] Reference the variant not enum at struct-literal construction. 2022-05-12 16:34:02 -07:00
rustc_serialize Cache more queries on disk. 2022-05-13 08:06:48 +02:00
rustc_session Add flag for stricter checks on uninit/zeroed 2022-05-24 14:26:52 +01:00
rustc_span RFC3239: Implement compact cfg(target(..)) 2022-05-24 13:51:36 +02:00
rustc_symbol_mangling Auto merge of #96883 - jackh726:early-binder-2, r=oli-obk 2022-05-14 23:53:11 +00:00
rustc_target Add flag for stricter checks on uninit/zeroed 2022-05-24 14:26:52 +01:00
rustc_trait_selection Rollup merge of #96913 - Urgau:rfc3239-part2, r=petrochenkov 2022-05-25 10:48:28 +02:00
rustc_traits Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
rustc_ty_utils Auto merge of #97012 - oli-obk:🦀_intrinsics, r=davidtwco 2022-05-17 09:39:26 +00:00
rustc_type_ir
rustc_typeck Rollup merge of #97292 - compiler-errors:tcxify-rustc, r=davidtwco 2022-05-23 15:11:04 +02:00