Enum flowistry_pdg::rustc::mir::UnusedUnsafe
source · pub enum UnusedUnsafe {
Unused,
InUnsafeBlock(HirId),
}
Variants§
Unused
unsafe
block contains no unsafe operations
unnecessary `unsafe` block
InUnsafeBlock(HirId)
unsafe
block nested under another (used) unsafe
block
… because it's nested under this `unsafe` block
Auto Trait Implementations§
impl RefUnwindSafe for UnusedUnsafe
impl Send for UnusedUnsafe
impl Sync for UnusedUnsafe
impl Unpin for UnusedUnsafe
impl UnwindSafe for UnusedUnsafe
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more