rust/compiler
Matthias Krüger 7d1b24f4bc
Rollup merge of #116715 - Nadrieril:patkind-error, r=oli-obk
Prevent more spurious unreachable pattern lints

Continues the work of https://github.com/rust-lang/rust/pull/115937 by introducing `PatKind::Error`, to be used instead of `PatKind::Wild` when an error was raised during pattern lowering. Most of match checking lints are skipped when a `PatKind::Error` is encountered. This avoids confusing extra warnings when a pattern is malformed. Now `PatKind::Wild` should indicate an actual wildcard pattern.

r? `@oli-obk`
2023-10-14 19:22:17 +02:00
..
rustc Split out the stable part of smir into its own crate to prevent accidental usage of forever unstable things 2023-09-25 14:38:27 +00:00
rustc_abi Remove unnecessary features from rustc_abi 2023-10-04 11:43:57 +02:00
rustc_arena rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_ast Rollup merge of #116696 - c410-f3r:in-doc, r=petrochenkov 2023-10-14 13:36:28 +02:00
rustc_ast_lowering Deprecate E0706 2023-10-13 21:01:36 +00:00
rustc_ast_passes Rollup merge of #116393 - compiler-errors:auto-bad, r=WaffleLapkin 2023-10-04 05:02:07 +02:00
rustc_ast_pretty Rename tt_prepend_space as space_between. 2023-10-12 08:50:42 +11:00
rustc_attr check-cfg: mention the unexpected name and value in the primary message 2023-10-12 18:39:04 +02:00
rustc_baked_icu_data
rustc_borrowck Auto merge of #113487 - estebank:sugg-113174, r=oli-obk 2023-10-12 02:34:07 +00:00
rustc_builtin_macros Rollup merge of #116696 - c410-f3r:in-doc, r=petrochenkov 2023-10-14 13:36:28 +02:00
rustc_codegen_cranelift Fix review comments 2023-10-09 18:39:43 +00:00
rustc_codegen_gcc Use IntoDynSyncSend 2023-10-09 17:13:35 -04:00
rustc_codegen_llvm Auto merge of #115964 - bjorn3:cgu_reuse_tracker_global_state, r=cjgillot 2023-10-13 00:09:30 +00:00
rustc_codegen_ssa Auto merge of #116702 - durin42:compress-debuginfo, r=compiler-errors 2023-10-14 11:05:04 +00:00
rustc_const_eval Auto merge of #116015 - EvanMerlock:master, r=oli-obk 2023-10-14 09:18:28 +00:00
rustc_data_structures Remove unused dominator iterator 2023-10-10 21:39:59 +02:00
rustc_driver
rustc_driver_impl Remove unneeded pubs. 2023-10-13 06:35:19 +11:00
rustc_error_codes Deprecate E0706 2023-10-13 21:01:36 +00:00
rustc_error_messages Bump cfg(bootstrap) 2023-08-23 20:05:14 -04:00
rustc_errors check-cfg: only print the list of expected names once 2023-10-12 18:39:35 +02:00
rustc_expand Add two setter functions to Features. 2023-10-05 18:01:11 +11:00
rustc_feature Auto merge of #115822 - compiler-errors:stabilize-rpitit, r=jackh726 2023-10-14 07:29:08 +00:00
rustc_fluent_macro rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_fs_util
rustc_graphviz rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_hir Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrum 2023-10-01 05:56:47 +00:00
rustc_hir_analysis Rollup merge of #116695 - fee1-dead-contrib:fix-cmt, r=compiler-errors 2023-10-14 13:36:28 +02:00
rustc_hir_pretty Fiddle with State functions. 2023-10-11 10:46:55 +11:00
rustc_hir_typeck Rollup merge of #116679 - estebank:rewrap-unwrap, r=oli-obk 2023-10-14 13:48:19 +02:00
rustc_incremental Auto merge of #115964 - bjorn3:cgu_reuse_tracker_global_state, r=cjgillot 2023-10-13 00:09:30 +00:00
rustc_index Preserve DebugInfo in DeadStoreElimination. 2023-10-06 15:46:11 +00:00
rustc_infer Rollup merge of #116219 - compiler-errors:relate-alias-ty-with-variance, r=lcnr 2023-10-11 20:08:20 +02:00
rustc_interface Auto merge of #115964 - bjorn3:cgu_reuse_tracker_global_state, r=cjgillot 2023-10-13 00:09:30 +00:00
rustc_lexer Update lexer emoji diagnostics to Unicode 15.0 2023-07-29 08:47:21 +08:00
rustc_lint Auto merge of #116727 - matthiaskrgr:rollup-3qqdrny, r=matthiaskrgr 2023-10-14 15:07:25 +00:00
rustc_lint_defs Auto merge of #115822 - compiler-errors:stabilize-rpitit, r=jackh726 2023-10-14 07:29:08 +00:00
rustc_llvm rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_log use env variable to control thread ids in rustc_log 2023-10-10 09:39:47 +08:00
rustc_macros Bump cfg(bootstrap) 2023-08-23 20:05:14 -04:00
rustc_metadata rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_middle Propagate pattern errors via a new PatKind::Error variant 2023-10-14 13:38:02 +02:00
rustc_mir_build Skip most of check_match checks in the presence of PatKind::Error 2023-10-14 13:38:04 +02:00
rustc_mir_dataflow Preserve DebugInfo in DeadStoreElimination. 2023-10-06 15:46:11 +00:00
rustc_mir_transform Auto merge of #115524 - RalfJung:misalign, r=wesleywiser 2023-10-14 00:57:09 +00:00
rustc_monomorphize rustc_monomorphize: Introduce check_fn_args_move_size() 2023-10-07 10:29:37 +02:00
rustc_parse Auto merge of #116645 - estebank:issue-116608, r=oli-obk 2023-10-13 19:26:27 +00:00
rustc_parse_format rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_passes Auto merge of #115948 - notriddle:notriddle/logo-lockup, r=fmease 2023-10-11 06:28:36 +00:00
rustc_plugin_impl rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_privacy rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_query_impl rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_query_system Rollup merge of #115863 - chenyukang:yukang-add-message-tidy-check, r=davidtwco 2023-10-03 12:24:11 +02:00
rustc_resolve rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_serialize rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_session Auto merge of #116619 - nnethercote:rustc_driver_impl, r=compiler-errors 2023-10-13 05:35:29 +00:00
rustc_smir change fn name, return loc info, local name 2023-10-13 11:44:38 +03:00
rustc_span rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_symbol_mangling rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_target Rollup merge of #116618 - chriswailes:riscv64-linux-android-vector, r=workingjubilee 2023-10-14 13:48:19 +02:00
rustc_trait_selection explicitly handle auto trait leakage in coherence 2023-10-13 09:42:51 +00:00
rustc_traits Detect cycle errors hidden by opaques during monomorphization 2023-09-13 17:35:44 +00:00
rustc_transmute Remove the MaybeTransmutableQuery<&'l Dfa<...>, C> impl. 2023-10-06 11:25:32 +11:00
rustc_ty_utils rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
rustc_type_ir Avoid emitting the non_exhaustive error if other errors already occurred 2023-10-11 12:49:57 +00:00
stable_mir change fn name, return loc info, local name 2023-10-13 11:44:38 +03:00