Skip to main content

phase_duplicate_addresses

Function phase_duplicate_addresses 

Source
pub fn phase_duplicate_addresses(
    parsed: &[ParsedFile],
    groups: &BTreeMap<String, Vec<usize>>,
    kinds: &BTreeMap<String, UnitKind>,
    errors: &mut ErrorSink,
)
Expand description

#3328 slice 2: two contexts claiming one address is an error too. Slice 1 checks each context on its own (check_email_services); routing is project-wide (one rule per address, on the account), so this sees every context. A claim inside one context is that check’s, so only a claim by a different context is reported here, on the later one (contexts in name order, so the report does not depend on discovery order).