Dylan DPC
54ea0f9ccd
Rollup merge of #78351 - RalfJung:validity-unsafe-cell, r=oli-obk
...
Move "mutable thing in const" check from interning to validity
This moves the check for mutable things (such as `UnsafeCell` or `&mut`) in a`const` from interning to validity. That means we can give more targeted error messages (pointing out *where* the problem lies), and we can simplify interning a bit.
Also fix the interning mode used for promoteds in statics.
r? @oli-obk
2020-10-28 01:21:18 +01:00
..
2020-09-11 09:37:51 -07:00
2020-10-04 02:02:25 +02:00
2020-10-20 17:01:51 +02:00
2020-10-27 09:25:54 +00:00
2020-10-25 07:03:58 +00:00
2020-10-16 15:21:16 -03: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-26 18:50:22 +00:00
2020-10-27 08:45:24 +09:00
2020-10-25 09:23:45 +00:00
2020-10-26 16:31:38 +00:00
2020-10-27 08:44:54 +09:00
2020-10-14 04:14:32 +02: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-25 18:43:49 +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-26 08:11:43 -07:00
2020-10-27 11:43:18 +00:00
2020-10-09 11:12:54 +02:00
2020-10-27 11:04:04 -04:00
2020-10-21 04:43:57 +03:00
2020-10-22 23:04:46 +02:00
2020-10-24 14:28:13 -04:00
2020-10-28 01:21:18 +01:00
2020-10-28 01:21:18 +01:00
2020-10-27 14:45:02 -03:00
2020-10-27 09:25:54 +00: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-25 18:43:37 +09:00
2020-10-27 08:45:07 +09:00
2020-10-13 14:16:45 +02:00
2020-10-27 11:04:04 -04:00
2020-10-28 01:21:08 +01:00
2020-10-21 21:11:11 +01:00
2020-10-24 14:11:59 +02:00
2020-10-27 14:45:02 -03:00
2020-10-16 12:58:50 -04:00
2020-10-19 11:57:50 +03:00
2020-10-28 01:21:10 +01:00