Skip to main content

analyze_semantic_file

Function analyze_semantic_file 

Source
pub fn analyze_semantic_file(path: &Path) -> FrontendResult<FileAnalysis>
Expand description

Analyze a standalone, compilable Rust source file with rustc’s typed MIR.

Analyze Rust by combining source-shaped labels and spans with rustc’s typed MIR. The source extractor is an internal stage, not a separate analysis mode.