2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input(return_ref)]
|
|
|
|
struct InputWithRetRef(u32);
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input(specify)]
|
|
|
|
struct InputWithSpecify(u32);
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input(no_eq)]
|
|
|
|
struct InputNoWithEq(u32);
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input(db = Db)]
|
|
|
|
struct InputWithDb(u32);
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input(recover_fn = recover)]
|
|
|
|
struct InputWithRecover(u32);
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input(lru =12)]
|
|
|
|
struct InputWithLru(u32);
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
#[salsa::input]
|
|
|
|
struct InputWithIdField {
|
|
|
|
#[id]
|
|
|
|
field: u32,
|
|
|
|
}
|
2022-09-07 19:09:33 +00:00
|
|
|
|
2024-07-19 11:29:18 +00:00
|
|
|
fn main() {}
|