Rollup merge of #120883 - RalfJung:extern-static-err, r=oli-obk
interpret: rename ReadExternStatic → ExternStatic This error shows up for reads and writes, so `ReadExternStatic` is misleading.
This commit is contained in:
commit
09bbcd6667
8 changed files with 49 additions and 8 deletions
|
@ -470,7 +470,7 @@ pub enum UnsupportedOpInfo {
|
|||
/// Accessing thread local statics
|
||||
ThreadLocalStatic(DefId),
|
||||
/// Accessing an unsupported extern static.
|
||||
ReadExternStatic(DefId),
|
||||
ExternStatic(DefId),
|
||||
}
|
||||
|
||||
/// Error information for when the program exhausted the resources granted to it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue