Skip to main content

check_scope_warning

Function check_scope_warning 

Source
pub fn check_scope_warning(entry: &IndexEntry) -> Option<ScopeWarning>
Expand description

Check for scope warnings (non-blocking).

Returns a warning if scope is large (produces > MAX_PRODUCES or paths > MAX_PATHS). Beans with no scope (no produces, no paths) are fine — not every bean needs explicit paths.