pub fn add_placeholder_note<G: EmissionGuarantee>(err: &mut Diag<'_, G>)