Fix compiler warning with nightly rust

```
error: unused `ControlFlow` that must be used
   --> internal/compiler/passes/infer_aliases_types.rs:185:5
    |
185 |     recurse(&root, element, &mut scope);
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
```
This commit is contained in:
Olivier Goffart 2025-03-19 13:00:42 +01:00
parent c9dc53c55a
commit bcd8c5d7be

View file

@ -182,6 +182,6 @@ fn recompute_scope(element: &ElementRc) -> ComponentScope {
let root = element.borrow().enclosing_component.upgrade().unwrap().root_element.clone();
let mut scope = Vec::new();
recurse(&root, element, &mut scope);
let _ = recurse(&root, element, &mut scope);
ComponentScope(scope)
}