slint-ui/slint · error
Merge layout infos
Error message
Merge layout infos
What it means
Error "Merge layout infos" thrown in slint-ui/slint.
Source
Thrown at internal/compiler/passes/inlining.rs:477
elem_binding.priority = elem_binding.priority.saturating_add(priority_delta);
elem_mut.set_binding(property.clone(), elem_binding);
}
}
}
for (k, val) in inlined_component.root_element.borrow().change_callbacks.iter() {
match elem_mut.change_callbacks.entry(k.clone()) {
std::collections::btree_map::Entry::Vacant(entry) => {
entry.insert(val.clone());
}
std::collections::btree_map::Entry::Occupied(mut entry) => {
entry.get_mut().get_mut().splice(0..0, val.borrow().iter().cloned());
}
}
}
if let Some(orig) = &inlined_component.root_element.borrow().layout_info_prop {
if let Some(_new) = &mut elem_mut.layout_info_prop {
todo!("Merge layout infos");
} else {
elem_mut.layout_info_prop = Some(orig.clone());
}
}
if let Some(orig) = &inlined_component.root_element.borrow().layout_info_v_with_constraint {
if let Some(_new) = &mut elem_mut.layout_info_v_with_constraint {
todo!("Merge layout infos");
} else {
elem_mut.layout_info_v_with_constraint = Some(orig.clone());
}
}
if let Some(orig) = &inlined_component.root_element.borrow().layout_info_h_with_constraint {
if let Some(_new) = &mut elem_mut.layout_info_h_with_constraint {
todo!("Merge layout infos");
} else {
elem_mut.layout_info_h_with_constraint = Some(orig.clone());
}
}View on GitHub (pinned to 3fd8f2ec03)
Solutions
- Internal compiler limitation: simplify the inlined layout structure.
- Report the triggering .slint code to the Slint issue tracker.
When it happens
Trigger: Thrown at internal/compiler/passes/inlining.rs:477 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of slint-ui/slint@3fd8f2ec03 (2026-08-19).
Data as JSON: /api/errors/e1d8021f4f2810e6.
Report an issue: GitHub.