Files
rust/compiler
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-20 16:42:51 +02:00
2020-09-23 21:51:56 +02:00
2020-09-23 21:51:56 +02:00
2020-10-27 11:04:04 -04:00
2020-09-23 21:51:56 +02:00
2020-09-23 21:51:56 +02:00
2020-10-16 12:58:50 -04:00