Constant rustc_data_structures::sync::ERROR_CHECKING

source ·
const ERROR_CHECKING: bool = false;
Expand description

This makes locks panic if they are already held. It is only useful when you are running in a single thread