rustc_data_structures::sync

Constant 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