rust/compiler
Jonas Schievink e12e97223f
Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkor
Cleanup constant matching in exhaustiveness checking

This supercedes https://github.com/rust-lang/rust/pull/77390. I made the `Opaque` constructor work.
I have opened two issues https://github.com/rust-lang/rust/issues/78071 and https://github.com/rust-lang/rust/issues/78057 from the discussion we had on the previous PR. They are not regressions nor directly related to the current PR so I thought we'd deal with them separately.

I left a FIXME somewhere because I didn't know how to compare string constants for equality. There might even be some unicode things that need to happen there. In the meantime I preserved previous behavior.

EDIT: I accidentally fixed #78071
2020-10-24 22:39:51 +02:00
..
rustc
rustc_apfloat
rustc_arena Track element count only for types that need drop 2020-10-20 17:01:51 +02:00
rustc_ast Auto merge of #77250 - Aaron1011:feature/flat-token-collection, r=petrochenkov 2020-10-21 15:03:14 +00:00
rustc_ast_lowering Loop instead of recursion 2020-10-24 01:24:58 +02:00
rustc_ast_passes
rustc_ast_pretty Drop unneeded mut 2020-10-20 16:42:51 +02:00
rustc_attr
rustc_builtin_macros
rustc_codegen_llvm Rollup merge of #78307 - rust-lang:revert-77961-embed-bitcode, r=tmandry 2020-10-24 14:12:20 +02:00
rustc_codegen_ssa Make codegen coverage_context optional, and check 2020-10-23 12:00:30 -07:00
rustc_data_structures Rollup merge of #77830 - cjgillot:remacro, r=oli-obk 2020-10-24 22:39:46 +02:00
rustc_driver
rustc_error_codes
rustc_errors
rustc_expand Avoid cloning the contents of a TokenStream in a few places 2020-10-19 12:30:41 -04:00
rustc_feature Mark repr128 as incomplete_features 2020-10-21 23:41:26 +01:00
rustc_fs_util
rustc_graphviz
rustc_hir Fix const core::panic!(non_literal_str). 2020-10-22 18:41:35 +02:00
rustc_hir_pretty Do not print braces again print_anon_const already does it 2020-10-19 16:26:13 -03:00
rustc_incremental
rustc_index
rustc_infer Reduce diagram mess in 'match arms have incompatible types' error 2020-10-22 16:16:02 -07:00
rustc_interface
rustc_lexer
rustc_lint Rollup merge of #78155 - est31:rustc_lint_types_refactor, r=davidtwco 2020-10-22 09:45:38 +09:00
rustc_llvm
rustc_macros Retire rustc_dep_node_try_load_from_on_disk_cache. 2020-10-22 23:04:46 +02:00
rustc_metadata Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
rustc_middle Rollup merge of #77830 - cjgillot:remacro, r=oli-obk 2020-10-24 22:39:46 +02:00
rustc_mir Rollup merge of #78069 - fusion-engineering-forks:core-const-panic-str, r=RalfJung 2020-10-24 22:39:49 +02:00
rustc_mir_build Rollup merge of #78072 - Nadrieril:cleanup-constant-matching, r=varkor 2020-10-24 22:39:51 +02:00
rustc_parse Make inline const work for half open ranges 2020-10-22 13:22:12 -03:00
rustc_parse_format
rustc_passes Auto merge of #77015 - davidtwco:check-attr-variant-closure-expr, r=lcnr 2020-10-23 17:32:04 +00:00
rustc_plugin_impl
rustc_privacy Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
rustc_query_system Remove unused ProfileCategory. 2020-10-22 22:35:32 +02:00
rustc_resolve Auto merge of #78134 - bugadani:arena-nodrop, r=lcnr 2020-10-22 07:05:21 +00:00
rustc_save_analysis
rustc_serialize
rustc_session
rustc_span Fix const core::panic!(non_literal_str). 2020-10-22 18:41:35 +02:00
rustc_symbol_mangling Update to rustc-demangle 0.1.18 2020-10-21 21:11:11 +01:00
rustc_target Rollup merge of #77716 - francesca64:revert-ios-dynamic-linking, r=jonas-schievink 2020-10-24 14:11:59 +02:00
rustc_trait_selection review comments 2020-10-23 12:51:06 -07:00
rustc_traits
rustc_ty Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
rustc_typeck Rollup merge of #78255 - dtolnay:match, r=lcnr 2020-10-23 18:26:40 +09:00