Skip to main content

dangling_references

Function dangling_references 

Source
pub fn dangling_references(model: &Model, report: &mut Report)
Expand description

Reports every reference whose target the model does not contain.

A dangling reference is unambiguously a defect: Part 21 #42 names an instance in the same exchange structure, so a missing target means the file was truncated, badly merged, or written by a tool that dropped an entity it still pointed at.

Traversal is by ascending entity id and, within an entity, by ascending slot, so findings arrive in a stable order.