Skip to main content

build_view

Function build_view 

Source
pub fn build_view(e: &Enumeration<'_>) -> Result<DiffView, EngineError>
Expand description

Build the canonical view.

Takes no Config and no LanguageRegistry, and that is the point: ADR 0012’s “enumeration runs before and independently of config” used to be a property of statement order inside a 95-line function, and is now a property of this parameter list. Nothing reachable from here can remove a file or a hunk.