Skip to main content

set_hint_message

Function set_hint_message 

Source
fn set_hint_message(slot: &mut Option<String>, value: &LitStr) -> Result<()>
Expand description

Record the message = "..." of a when(...) hint in inherits(...), under the rules of set_check_message; unlike a check’s message, the hint’s is required.