pub struct ImpactClosureGap {
pub consumer_file: String,
pub consumed_symbols: Vec<String>,
pub note: String,
pub search_visibility: Option<SearchVisibility>,
pub reason: Option<SearchGapReason>,
pub search_as: Option<String>,
pub search_symbol: Option<String>,
}Expand description
One coordination-gap entry in an ImpactClosureTrace.
Fields§
§consumer_file: StringRoot-relative path of the consumer module.
consumed_symbols: Vec<String>Exported symbol names the consumer references.
note: StringScope note for the syntactic trace.
search_visibility: Option<SearchVisibility>Whether a whole-word text search for the consumed symbol names finds
this consumer. When the consumer uses more than one symbol, the worst
level wins (missed, then renamed, then found). Absent when no
check applies, for example when the consumer source cannot be read.
reason: Option<SearchGapReason>Why a text search does not find the uses of the worst symbol. With
search_visibility found, only pass-through occurs.
search_as: Option<String>The name to search for in this consumer instead of the symbol name.
search_symbol: Option<String>The entry of consumed_symbols that search_visibility, reason
and search_as describe: the worst symbol, default for a default
export. Present when search_visibility is present.