Rust codegen: fix compile if slint names matches internal names

Fixes #4419
This commit is contained in:
Olivier Goffart 2024-01-24 14:49:46 +01:00
parent 367b5c5a76
commit 1e19e0a754
8 changed files with 91 additions and 91 deletions

View file

@ -493,7 +493,7 @@ pub fn layout_info_type() -> Type {
.map(|s| (s.to_string(), Type::Float32)),
)
.collect(),
name: Some("LayoutInfo".into()),
name: Some("slint::private_api::LayoutInfo".into()),
node: None,
rust_attributes: None,
}