You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #142287 - RalfJung:no-promote-im, r=<try>
promote_consts: do not promote !Freeze shared references
This is a crater experiment to measure the fallout from not promoting shared references to `!Freeze` types. IOW, this switches promotion from value-based reasoning to type-based reasoning about interior mutability.
Landing this PR would fixrust-lang/unsafe-code-guidelines#493 but I doubt we can get away with that.
0 commit comments