E0164

generated from midad spec --json at build time; not edited by hand

E0164 error

This code is raised with a message built where the checker raises it, so the binary has no message template and no fix text for it: midad explain E0164 prints a dash in both places. The message in a real diagnostic names what the checker saw.

From the binary

$ midad explain E0164
E0164 (error)
  `if let` supports the `Some(name)`, `Ok(name)` and `Err(name)` patterns
  fix: -

A message template can carry {} where the checker fills in the values it saw: the type it expected, the target it refused, the name it could not find.

On this page