File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -311,7 +311,9 @@ pub fn report_error<'tcx>(
311311 ResourceExhaustion ( _) => "resource exhaustion" ,
312312 Unsupported (
313313 // We list only the ones that can actually happen.
314- UnsupportedOpInfo :: Unsupported ( _) | UnsupportedOpInfo :: UnsizedLocal ,
314+ UnsupportedOpInfo :: Unsupported ( _)
315+ | UnsupportedOpInfo :: UnsizedLocal
316+ | UnsupportedOpInfo :: ExternTypeField ,
315317 ) => "unsupported operation" ,
316318 InvalidProgram (
317319 // We list only the ones that can actually happen.
Original file line number Diff line number Diff line change 1- error: unsupported operation: `extern type` does not have a known offset
1+ error: unsupported operation: `extern type` field does not have a known offset
22 --> $DIR/extern-type-field-offset.rs:LL:CC
33 |
44LL | let _field = &x.a;
5- | ^^^^ `extern type` does not have a known offset
5+ | ^^^^ `extern type` field does not have a known offset
66 |
77 = help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
88 = note: BACKTRACE:
You can’t perform that action at this time.
0 commit comments