File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ pub fn op_to_const<'tcx>(
129
129
assert ! ( alloc. bytes. len( ) as u64 - ptr. offset. bytes( ) >= op. layout. size. bytes( ) ) ;
130
130
let mut alloc = alloc. clone ( ) ;
131
131
alloc. align = align;
132
- // FIXME shouldnt it be the case that `mark_static_initialized ` has already
132
+ // FIXME shouldnt it be the case that `intern_static ` has already
133
133
// interned this? I thought that is the entire point of that `FinishStatic` stuff?
134
134
let alloc = ecx. tcx . intern_const_alloc ( alloc) ;
135
135
ConstValue :: ByRef ( ptr. alloc_id , alloc, ptr. offset )
Original file line number Diff line number Diff line change @@ -707,7 +707,7 @@ where
707
707
mutability : Mutability ,
708
708
) -> EvalResult < ' tcx > {
709
709
trace ! (
710
- "mark_static_initialized {:?}, mutability: {:?}" ,
710
+ "intern_static {:?}, mutability: {:?}" ,
711
711
alloc_id,
712
712
mutability
713
713
) ;
You can’t perform that action at this time.
0 commit comments