PlaceRef {
base:
PlaceBase::Static(box Static {
- kind: StaticKind::Promoted(_),
+ kind: StaticKind::Promoted(..),
..
}),
projection: None,
PlaceRef {
base:
PlaceBase::Static(box Static {
- kind: StaticKind::Static(def_id),
+ kind: StaticKind::Static,
+ def_id,
..
}),
projection: None,
pub fn is_place_thread_local(&self, place_ref: PlaceRef<'cx, 'tcx>) -> bool {
if let PlaceRef {
base: PlaceBase::Static(box Static {
- kind: StaticKind::Static(def_id),
+ kind: StaticKind::Static,
+ def_id,
..
}),
projection: None,