proc-macro-error2 2.0.1

Almost drop-in replacement to panics in proc-macros
Documentation
1
2
3
4
5
6
#[test]
#[cfg(run_ui_tests)]
fn ui() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/*.rs");
}