[−][src]Module rustc_mir::transform::check_consts::ops
Concrete error types for all operations which may be invalid in a certain const context.
Structs
| CellBorrow | |
| FnCallIndirect | A function call where the callee is a pointer. |
| FnCallNonConst | A function call where the callee is not marked as |
| FnCallUnstable | A call to a |
| HeapAllocation | |
| InlineAsm | |
| LiveDrop | |
| MutAddressOf | |
| MutBorrow | |
| MutDeref | |
| Panic | |
| RawPtrComparison | |
| RawPtrDeref | |
| RawPtrToIntCast | |
| StaticAccess | An access to a (non-thread-local) |
| ThreadLocalAccess | An access to a thread-local |
| UnionAccess |
Traits
| NonConstOp | An operation that is not always allowed in a const context. |
Functions
| non_const | Emits an error if |