mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 21:05:11 +00:00
17 lines
534 B
Text
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
|