allow statics pointing to mutable statics
This commit is contained in:
parent
ef324565d0
commit
3cc8c8d44b
11 changed files with 207 additions and 91 deletions
|
@ -420,7 +420,6 @@ pub enum ValidationErrorKind<'tcx> {
|
|||
PartialPointer,
|
||||
PtrToUninhabited { ptr_kind: PointerKind, ty: Ty<'tcx> },
|
||||
PtrToStatic { ptr_kind: PointerKind },
|
||||
MutableRefInConstOrStatic,
|
||||
ConstRefToMutable,
|
||||
ConstRefToExtern,
|
||||
MutableRefToImmutable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue