salsa/tests/compile-fail/input_struct_incompatibles.rs
Niko Matsakis 6377dbadb8 wip
2024-07-19 07:29:18 -04:00

25 lines
421 B
Rust

#[salsa::input(return_ref)]
struct InputWithRetRef(u32);
#[salsa::input(specify)]
struct InputWithSpecify(u32);
#[salsa::input(no_eq)]
struct InputNoWithEq(u32);
#[salsa::input(db = Db)]
struct InputWithDb(u32);
#[salsa::input(recover_fn = recover)]
struct InputWithRecover(u32);
#[salsa::input(lru =12)]
struct InputWithLru(u32);
#[salsa::input]
struct InputWithIdField {
#[id]
field: u32,
}
fn main() {}