Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #22704 from ada4a/push-yuozssnnvpvn
internal(query-group-macro): remove the arity test
Chayim Refael Friedman 13 days ago
parent eec04dd · parent 05bb719 · commit cb176d0
-rw-r--r--crates/query-group-macro/tests/arity.rs32
1 files changed, 0 insertions, 32 deletions
diff --git a/crates/query-group-macro/tests/arity.rs b/crates/query-group-macro/tests/arity.rs
deleted file mode 100644
index f7cd4893fe..0000000000
--- a/crates/query-group-macro/tests/arity.rs
+++ /dev/null
@@ -1,32 +0,0 @@
-use query_group_macro::query_group;
-
-#[query_group]
-pub trait ArityDb: salsa::Database {
- #[salsa::transparent]
- fn one(&self, a: ()) -> String;
-
- #[salsa::transparent]
- fn two(&self, a: (), b: ()) -> String;
-
- #[salsa::transparent]
- fn three(&self, a: (), b: (), c: ()) -> String;
-
- #[salsa::transparent]
- fn none(&self) -> String;
-}
-
-fn one(_db: &dyn ArityDb, _a: ()) -> String {
- String::new()
-}
-
-fn two(_db: &dyn ArityDb, _a: (), _b: ()) -> String {
- String::new()
-}
-
-fn three(_db: &dyn ArityDb, _a: (), _b: (), _c: ()) -> String {
- String::new()
-}
-
-fn none(_db: &dyn ArityDb) -> String {
- String::new()
-}