Mara Bos
46111c1901
Rollup merge of #80458 - RalfJung:promotion-refactor, r=oli-obk
...
Some Promotion Refactoring
Clean up promotion a bit:
* factor out some common code
* more exhaustive matches
This *should* not break anything... the only potentially-breaking change is that `BorrowKind::Shallow | BorrowKind::Unique` are now rejected for internal references.
r? ``@oli-obk``
2020-12-30 20:56:52 +00:00
..
2020-12-26 18:24:10 +01:00
2020-12-30 20:56:49 +00:00
2020-12-30 09:51:42 +00:00
2020-12-29 04:27:37 +01:00
2020-12-28 14:23:20 -08:00
2020-12-24 13:35:12 +01:00
2020-12-27 10:30:38 +01:00
2020-12-30 13:15:40 +01:00
2020-12-30 22:49:26 +09:00
2020-12-29 22:26:58 +01:00
2020-12-30 13:11:52 +01:00
2020-12-26 18:24:10 +01:00
2020-12-29 09:36:42 -05:00
2020-12-26 18:24:10 +01:00
2020-12-29 23:39:56 +03:00
2020-12-29 23:39:56 +03:00
2020-12-30 22:49:26 +09:00
2020-12-29 23:39:56 +03:00
2020-12-29 16:30:02 -05:00
2020-12-30 22:49:26 +09:00
2020-12-29 22:26:58 +01:00
2020-12-30 20:56:52 +00:00
2020-12-30 22:49:26 +09:00
2020-12-30 22:33:13 +09:00
2020-12-24 13:35:12 +01:00
2020-12-26 19:34:10 -05:00
2020-12-30 22:49:26 +09:00
2020-12-26 18:24:10 +01:00
2020-12-30 13:11:52 +01:00
2020-12-30 18:15:11 +09:00
2020-12-30 13:15:40 +01:00
2020-12-27 03:22:23 +01:00
2020-12-30 22:49:24 +09:00