File tree 2 files changed +5
-3
lines changed
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>(
311
311
ResourceExhaustion ( _) => "resource exhaustion" ,
312
312
Unsupported (
313
313
// We list only the ones that can actually happen.
314
- UnsupportedOpInfo :: Unsupported ( _) | UnsupportedOpInfo :: UnsizedLocal ,
314
+ UnsupportedOpInfo :: Unsupported ( _)
315
+ | UnsupportedOpInfo :: UnsizedLocal
316
+ | UnsupportedOpInfo :: ExternTypeField ,
315
317
) => "unsupported operation" ,
316
318
InvalidProgram (
317
319
// 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
2
2
--> $DIR/extern-type-field-offset.rs:LL:CC
3
3
|
4
4
LL | let _field = &x.a;
5
- | ^^^^ `extern type` does not have a known offset
5
+ | ^^^^ `extern type` field does not have a known offset
6
6
|
7
7
= help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
8
8
= note: BACKTRACE:
You can’t perform that action at this time.
0 commit comments