proc-macro-error3 3.0.2

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