There was an error while loading. Please reload this page.
1 parent 1ddbc5e commit 36345c6Copy full SHA for 36345c6
crates/pgt_typecheck/tests/diagnostics.rs
@@ -12,7 +12,7 @@ struct TestSetup<'a> {
12
typed_identifiers: Vec<TypedIdentifier>,
13
}
14
15
-impl<'a> TestSetup<'a> {
+impl TestSetup<'_> {
16
async fn test(self) {
17
if let Some(setup) = self.setup {
18
self.test_db
@@ -26,7 +26,7 @@ impl<'a> TestSetup<'a> {
26
.set_language(&pgt_treesitter_grammar::LANGUAGE.into())
27
.expect("Error loading sql language");
28
29
- let schema_cache = pgt_schema_cache::SchemaCache::load(&self.test_db)
+ let schema_cache = pgt_schema_cache::SchemaCache::load(self.test_db)
30
.await
31
.expect("Failed to load Schema Cache");
32
0 commit comments