rusty_lr 4.5.0

A Bison-inspired parser generator and compiler frontend framework for Rust, with IELR(1), LALR(1), GLR, and LSP support.
Documentation
1
2
3
4
5
6
7
#[test]
fn context_clone_bounds_are_conditional() {
    let tests = trybuild::TestCases::new();
    tests.pass("tests/ui/context_clone_non_clone_storage_compiles.rs");
    tests.pass("tests/ui/context_clone_clone_storage_clones.rs");
    tests.compile_fail("tests/ui/context_clone_non_clone_storage_fails.rs");
}