diff --git a/tree-sitter-sus/bindings/rust/lib.rs b/tree-sitter-sus/bindings/rust/lib.rs index e1b16eb..375ac6f 100644 --- a/tree-sitter-sus/bindings/rust/lib.rs +++ b/tree-sitter-sus/bindings/rust/lib.rs @@ -46,7 +46,7 @@ mod tests { fn test_can_load_grammar() { let mut parser = tree_sitter::Parser::new(); parser - .set_language(super::language()) + .set_language(&super::language()) .expect("Error loading sus language"); } }