pub struct DiagnosticCxBuilder<'ecx, 'mir, 'tcx> {
operation: Operation,
machine: &'ecx MiriMachine<'mir, 'tcx>,
}
Fields§
§operation: Operation
§machine: &'ecx MiriMachine<'mir, 'tcx>
Implementations§
source§impl<'ecx, 'mir, 'tcx> DiagnosticCxBuilder<'ecx, 'mir, 'tcx>
impl<'ecx, 'mir, 'tcx> DiagnosticCxBuilder<'ecx, 'mir, 'tcx>
pub fn build<'history>(
self,
history: &'history mut AllocHistory,
offset: Size
) -> DiagnosticCx<'history, 'ecx, 'mir, 'tcx>
pub fn retag(
machine: &'ecx MiriMachine<'mir, 'tcx>,
cause: RetagCause,
new_tag: BorTag,
orig_tag: ProvenanceExtra,
range: AllocRange
) -> Self
pub fn read(
machine: &'ecx MiriMachine<'mir, 'tcx>,
tag: ProvenanceExtra,
range: AllocRange
) -> Self
pub fn write(
machine: &'ecx MiriMachine<'mir, 'tcx>,
tag: ProvenanceExtra,
range: AllocRange
) -> Self
pub fn dealloc(
machine: &'ecx MiriMachine<'mir, 'tcx>,
tag: ProvenanceExtra
) -> Self
Auto Trait Implementations§
impl<'ecx, 'mir, 'tcx> !RefUnwindSafe for DiagnosticCxBuilder<'ecx, 'mir, 'tcx>
impl<'ecx, 'mir, 'tcx> !Send for DiagnosticCxBuilder<'ecx, 'mir, 'tcx>
impl<'ecx, 'mir, 'tcx> !Sync for DiagnosticCxBuilder<'ecx, 'mir, 'tcx>
impl<'ecx, 'mir, 'tcx> Unpin for DiagnosticCxBuilder<'ecx, 'mir, 'tcx>where
'mir: 'ecx,
'tcx: 'ecx,
impl<'ecx, 'mir, 'tcx> !UnwindSafe for DiagnosticCxBuilder<'ecx, 'mir, 'tcx>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes