Files
rust/compiler
Yuki Okushi aaef1a1649 Rollup merge of #87554 - sexxi-goose:fix-issue-87426, r=nikomatsakis
2229: Discr should be read when PatKind is Range

This PR fixes an issue related to pattern matching in closures when Edition 2021 is enabled.

- If any of the patterns the discr is being matched on is `PatKind::Range` then the discr should be read

r? ```@nikomatsakis```

Closes https://github.com/rust-lang/rust/issues/87426
2021-07-30 16:26:55 +09:00
..
2021-04-04 14:10:26 -07:00
2021-03-27 22:16:33 -04:00
2021-07-27 16:03:09 -04:00
2021-05-31 13:55:43 +02:00
2021-07-13 17:58:50 +09:00
2021-07-10 20:54:49 +08:00
2021-05-31 13:55:43 +02:00