pub fn validate_getter_var<T: VarValue>(_var: &impl Var<T>)
Logs an error if the _var is always read-only.
_var