salsa/tests/compile-fail/get-set-on-private-input-field.stderr
2025-01-11 21:34:58 -08:00

17 lines
534 B
Text

error[E0624]: method `field` is private
--> tests/compile-fail/get-set-on-private-input-field.rs:14:11
|
4 | #[salsa::input]
| --------------- private method defined here
...
14 | input.field(&db);
| ^^^^^ private method
error[E0624]: method `set_field` is private
--> tests/compile-fail/get-set-on-private-input-field.rs:15:11
|
4 | #[salsa::input]
| --------------- private method defined here
...
15 | input.set_field(&mut db).to(23);
| ^^^^^^^^^ private method