bors
8df58ae03a
Auto merge of #78393 - SNCPlay42:match-if-guard, r=tmandry
...
Always record reference to binding in match if guards
When encountering a binding from a `match` pattern in its `if` guard when computing a generator's interior types, we must always record the type of a reference to the binding because of how `if` guards are lowered to MIR. This was missed in #75213 because the binding in that test case was autorefed and we recorded that adjusted type anyway.
Fixes #78366
2020-10-30 07:05:57 +00:00
..
2020-09-11 09:37:51 -07:00
2020-10-04 02:02:25 +02:00
2020-10-27 18:14:21 +01:00
2020-10-27 09:25:54 +00:00
2020-10-29 16:51:46 +01:00
2020-10-29 16:51:46 +01:00
2020-10-20 16:42:51 +02:00
2020-10-21 20:54:20 +02:00
2020-10-21 18:57:29 -04:00
2020-10-26 09:53:27 +01:00
2020-10-28 17:47:36 +00:00
2020-10-27 08:45:24 +09:00
2020-10-29 16:51:46 +01:00
2020-10-26 16:31:38 +00:00
2020-10-27 08:44:54 +09:00
2020-10-29 16:51:46 +01:00
2020-10-25 18:43:49 +09:00
2020-10-27 14:45:28 -03:00
2020-10-14 04:14:32 +02:00
2020-09-23 21:51:56 +02:00
2020-10-29 12:08:40 +09:00
2020-10-19 16:26:13 -03:00
2020-09-23 21:51:56 +02:00
2020-09-19 17:27:13 +02:00
2020-10-29 12:08:50 +09:00
2020-10-28 17:47:36 +00:00
2020-10-09 11:12:54 +02:00
2020-10-29 17:05:21 +01:00
2020-10-29 17:05:23 +01:00
2020-10-22 23:04:46 +02:00
2020-10-24 14:28:13 -04:00
2020-10-30 03:00:13 +00:00
2020-10-29 12:09:03 +09:00
2020-10-29 01:37:49 +00:00
2020-10-29 12:08:50 +09:00
2020-09-23 21:51:56 +02:00
2020-10-25 18:43:40 +09:00
2020-09-23 21:51:56 +02:00
2020-10-19 11:57:50 +03:00
2020-10-22 22:35:32 +02:00
2020-10-29 18:34:59 +00:00
2020-10-27 08:45:07 +09:00
2020-10-13 14:16:45 +02:00
2020-10-29 17:05:11 +01:00
2020-10-29 17:05:17 +01:00
2020-10-21 21:11:11 +01:00
2020-10-24 14:11:59 +02:00
2020-10-29 17:05:14 +01:00
2020-10-16 12:58:50 -04:00
2020-10-19 11:57:50 +03:00
2020-10-30 07:05:57 +00:00