Skip to main content

unknown_command

Function unknown_command 

Source
pub fn unknown_command(name: &str, hint: Option<&str>) -> Diagnostic
Expand description

Truly unknown command name. Takes the attempted name and an optional hint (structural or case hint). Canonical form quotes the found name with {name:?} and keeps the hint on its own line with no trailing period.