Function rustc_driver::monitor
[−]
[src]
pub fn monitor<F: FnOnce() + Send + 'static>(f: F)
Unstable
Run a procedure which will detect panics in the compiler and print nicer error messages rather than just failing the test.
The diagnostic emitter yielded to the procedure should be used for reporting errors of the compiler.