salsa/tests/compile-fail/tracked_struct_incompatibles.stderr

36 lines
1,022 B
Text
Raw Normal View History

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