aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorMichael Davis2024-03-17 13:42:16 +0000
committerBlaž Hrastnik2024-03-18 01:34:53 +0000
commit38af99f05f76dfcdb36e5b498a64b8c39b2fa27a (patch)
treee6097a1e0b9742b83e81cf6602a09a5e33658df9 /xtask
parent476e6baf8f664bb08114aa5bf6bc839925d8d329 (diff)
Bump tree-sitter to 0.22.2
Diffstat (limited to 'xtask')
-rw-r--r--xtask/src/querycheck.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/querycheck.rs b/xtask/src/querycheck.rs
index 454d0e5c..a27f85e6 100644
--- a/xtask/src/querycheck.rs
+++ b/xtask/src/querycheck.rs
@@ -21,7 +21,7 @@ pub fn query_check() -> Result<(), DynError> {
let query_text = read_query(language_name, query_file);
if let Ok(lang) = language {
if !query_text.is_empty() {
- if let Err(reason) = Query::new(lang, &query_text) {
+ if let Err(reason) = Query::new(&lang, &query_text) {
return Err(format!(
"Failed to parse {} queries for {}: {}",
query_file, language_name, reason