diesel_derives 2.3.10

You should not use this crate directly, it is internal to Diesel.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::derive;

use super::expand_with;

#[test]
pub(crate) fn query_id_1() {
    let input = quote::quote! {
        struct Query;
    };

    expand_with(
        &crate::derive_query_id_inner as &dyn Fn(_) -> _,
        input,
        derive(syn::parse_quote!(#[derive(QueryId)])),
        "query_id_1",
    );
}