From 38af99f05f76dfcdb36e5b498a64b8c39b2fa27a Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Sun, 17 Mar 2024 09:42:16 -0400 Subject: Bump tree-sitter to 0.22.2 --- xtask/src/querycheck.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtask') 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 -- cgit v1.2.3-70-g09d2