Skip to main content

diff_modules

Function diff_modules 

Source
pub fn diff_modules(
    old: &SerializedIr,
    new: &SerializedIr,
) -> (Vec<String>, Vec<String>, Vec<String>)
Expand description

Compute the diff between two module snapshots.

Returns (added, removed, modified) — each a Vec<String> of declaration names. A declaration is “modified” when the name exists in both modules but the SerialDecl differs in any field.