Skip to main content

Module drop_bomb

Module drop_bomb 

Source
Expand description

This module implements “drop bombs” intended for use by command wrappers to ensure that the constructed commands are eventually executed. This is exactly like rustc_errors::Diag where we force every Diag to be consumed or we emit a bug, but we panic instead.

This is adapted from https://docs.rs/drop_bomb/latest/drop_bomb/ and simplified for our purposes.

Re-exports§

use std::ffi::OsStr; 🔒
use std::ffi::OsString; 🔒
use std::panic; 🔒
use std::panic; 🔒

Structs§

DropBomb