Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
#[ra_salsa::query_group(MyStruct)]
trait MyDatabase: ra_salsa::Database {
    #[ra_salsa::invoke(another_module::another_name)]
    fn my_query(&self, key: ()) -> ();
}

mod another_module {
    #[allow(dead_code)]
    pub(crate) fn another_name(_: &dyn crate::MyDatabase, (): ()) {}
}

fn main() {}