rust/compiler/rustc_middle/src
bors 0c11b93f5a Auto merge of #79635 - lcnr:const-eval-idk, r=oli-obk
const_evaluatable_checked: fix occurs check

fixes #79615

this is kind of a hack because we use `TypeRelation` for both the `Generalizer` and the `ConstInferUnifier` but i am not sure if there is a useful way to disentangle this without unnecessarily duplicating some code.

The error in the added test is kind of unavoidable until we erase the unused substs of `ConstKind::Unevaluated`. We talked a bit about this in the cg lazy norm meeting (https://rust-lang.zulipchat.com/#narrow/stream/260443-project-const-generics/topic/lazy_normalization_consts)
2020-12-20 00:50:46 +00:00
..
dep_graph Use def_path_hash_to_def_id when re-using a RawDefId 2020-12-10 16:04:19 -05:00
hir Writeback min_capture map to TypeckResults 2020-12-06 15:48:19 -05:00
ich Rollup merge of #79036 - cjgillot:steal, r=oli-obk 2020-11-15 13:39:59 +01:00
infer words 2020-11-16 22:42:09 +01:00
middle Allow since="TBD" for rustc_deprecated 2020-12-16 13:21:24 -05:00
mir Auto merge of #79840 - dvtkrlbs:issue-79667, r=oli-obk 2020-12-17 09:11:28 +00:00
query Combination of commits 2020-12-03 09:50:10 -08:00
traits Auto merge of #79336 - camelid:rename-feature-oibit-to-auto, r=oli-obk 2020-11-25 07:25:19 +00:00
ty Auto merge of #79635 - lcnr:const-eval-idk, r=oli-obk 2020-12-20 00:50:46 +00:00
util Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
arena.rs Combination of commits 2020-12-03 09:50:10 -08:00
lib.rs Introduce TypeVisitor::BreakTy 2020-11-14 20:25:27 +01:00
lint.rs Auto merge of #76931 - oli-obk:const_prop_inline_lint_madness, r=wesleywiser 2020-11-03 16:32:34 +00: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