rust/compiler/rustc_middle/src
the8472 a3e6c19acf
Rollup merge of #89147 - b-naber:refs_in_check_const_value_eq, r=oli-obk
add case for checking const refs in check_const_value_eq

Previously in `check_const_value_eq` we destructured `ConstValue::ByRef` instances, this didn't account for `ty::Ref`s however, which led to an ICE.

Fixes https://github.com/rust-lang/rust/issues/88876
Fixes https://github.com/rust-lang/rust/issues/88384

r? `@oli-obk`
2021-09-21 22:54:08 +02:00
..
dep_graph Make DefPathHash->DefId panic for if the mapping fails. 2021-09-14 13:56:33 +02:00
hir Rollup merge of #89078 - camsteffen:map-ref, r=cjgillot 2021-09-21 22:54:00 +02:00
ich Fix match for placeholder region 2021-09-21 09:31:59 +01:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Make DefPathHash->DefId panic for if the mapping fails. 2021-09-14 13:56:33 +02:00
mir Add ConstraintCategory::Usage for handling aggregate construction 2021-09-16 12:36:19 -05:00
query Auto merge of #88575 - eddyb:fn-abi-queries, r=nagisa 2021-09-19 21:39:47 +00:00
thir add a CastKind to Node::Cast 2021-09-09 01:32:03 +01:00
traits Auto merge of #89000 - Mark-Simulacrum:no-new-lrc, r=petrochenkov 2021-09-18 20:13:21 +00:00
ty Rollup merge of #89147 - b-naber:refs_in_check_const_value_eq, r=oli-obk 2021-09-21 22:54:08 +02:00
util Make panic/assert calls in rustc compatible with Rust 2021. 2021-02-03 22:42:53 +01:00
arena.rs ty::layout: intern FnAbis as &'tcx. 2021-09-18 01:42:45 +03:00
lib.rs Gather module items after lowering. 2021-09-12 16:33:16 +02:00
lint.rs Fix #88256, remove duplicated diagnostic 2021-09-04 19:26:25 +08:00
macros.rs Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk 2020-11-17 12:24:34 +00:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs rename mir -> thir around abstract consts 2021-09-09 01:32:03 +01:00