MCPcopy Create free account
hub / github.com/bootc-dev/bootc / lint_err

Function lint_err

crates/lib/src/lints.rs:65–67  ·  view source on GitHub ↗

We successfully found a lint failure.

(msg: impl AsRef<str>)

Source from the content-addressed store, hash-verified

63
64/// We successfully found a lint failure.
65fn lint_err(msg: impl AsRef<str>) -> LintResult {
66 Ok(Err(LintError::new(msg)))
67}
68
69impl std::fmt::Display for LintError {
70 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {

Callers 11

check_var_runFunction · 0.85
check_buildah_injectedFunction · 0.85
check_usretcFunction · 0.85
check_utf8Function · 0.85
check_api_dirsFunction · 0.85
check_var_tmpfilesFunction · 0.85
check_sysusersFunction · 0.85
check_bootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected