2022-09-07 19:09:33 +00:00
|
|
|
error: `return_ref` option not allowed here
|
2024-07-19 12:05:39 +00:00
|
|
|
--> tests/compile-fail/tracked_struct_incompatibles.rs:1:18
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
2024-07-19 12:05:39 +00:00
|
|
|
1 | #[salsa::tracked(return_ref)]
|
|
|
|
| ^^^^^^^^^^
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
|
|
error: `specify` option not allowed here
|
2024-07-19 12:05:39 +00:00
|
|
|
--> tests/compile-fail/tracked_struct_incompatibles.rs:6:18
|
|
|
|
|
|
|
|
|
6 | #[salsa::tracked(specify)]
|
|
|
|
| ^^^^^^^
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
|
|
error: `no_eq` option not allowed here
|
2024-07-19 12:05:39 +00:00
|
|
|
--> tests/compile-fail/tracked_struct_incompatibles.rs:11:18
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
2024-07-19 12:05:39 +00:00
|
|
|
11 | #[salsa::tracked(no_eq)]
|
|
|
|
| ^^^^^
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
|
|
error: `db` option not allowed here
|
2024-07-19 12:05:39 +00:00
|
|
|
--> tests/compile-fail/tracked_struct_incompatibles.rs:16:18
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
2024-07-19 12:05:39 +00:00
|
|
|
16 | #[salsa::tracked(db = Db)]
|
|
|
|
| ^^
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
|
|
error: unrecognized option `recover_fn`
|
2024-07-19 12:05:39 +00:00
|
|
|
--> tests/compile-fail/tracked_struct_incompatibles.rs:21:18
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
2024-07-19 12:05:39 +00:00
|
|
|
21 | #[salsa::tracked(recover_fn = recover)]
|
|
|
|
| ^^^^^^^^^^
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
|
|
error: `lru` option not allowed here
|
2024-07-19 12:05:39 +00:00
|
|
|
--> tests/compile-fail/tracked_struct_incompatibles.rs:26:18
|
2022-09-07 19:09:33 +00:00
|
|
|
|
|
2024-07-19 12:05:39 +00:00
|
|
|
26 | #[salsa::tracked(lru = 12)]
|
|
|
|
| ^^^
|