usecrate::builder::GraphBuilder;usestd::path::Path;/// Pluggable semantic backend. The single permitted entry point through
/// which a name-resolving analyzer (e.g. `code-split-sema` backed by `ra_ap_*`)
/// contributes nodes and edges to a `GraphBuilder`.
pubtraitSemanticIndex{typeError:std::error::Error +Send+Sync+'static;fnanalyze(&self, workspace:&Path, builder:&mut GraphBuilder)->Result<(), Self::Error>;}