diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 0f48138..d84e3a3 100644 --- a/bindings/rust/lib.rs +++ b/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 kotlin language"); } }