rust/compiler/rustc_middle/src
Niko Matsakis 2ee89144e2 introduce new fallback algorithm
We now fallback type variables using the following rules:

* Construct a coercion graph `A -> B` where `A` and `B` are unresolved
  type variables or the `!` type.
* Let D be those variables that are reachable from `!`.
* Let N be those variables that are reachable from a variable not in
D.
* All variables in (D \ N) fallback to `!`.
* All variables in (D & N) fallback to `()`.
2021-09-17 12:47:48 -04:00
..
dep_graph Update DepNode's size 2021-07-10 21:46:31 +08:00
hir Rollup merge of #88677 - petrochenkov:exportid, r=davidtwco 2021-09-12 03:44:53 -07:00
ich Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkov 2021-09-11 23:35:28 +00:00
infer Miscellaneous inlining improvements 2021-06-02 08:49:58 +02:00
middle Fix drop handling for if let expressions 2021-09-01 23:47:41 +01:00
mir Rollup merge of #88859 - RalfJung:size-helpers, r=oli-obk 2021-09-13 21:20:40 +02:00
query Auto merge of #88558 - fee1-dead:const-drop, r=oli-obk 2021-09-15 03:51:03 +00:00
thir add a CastKind to Node::Cast 2021-09-09 01:32:03 +01:00
traits Auto merge of #88719 - estebank:point-at-arg-for-obligation, r=nagisa 2021-09-16 22:17:33 +00:00
ty introduce new fallback algorithm 2021-09-17 12:47:48 -04:00
util Make panic/assert calls in rustc compatible with Rust 2021. 2021-02-03 22:42:53 +01:00
arena.rs Remove unused arena macro args 2021-08-30 13:09:38 +02:00
lib.rs Bump stage0 compiler to 1.56 2021-09-08 20:51:05 -04: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