We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8f0f98 commit f55c006Copy full SHA for f55c006
crates/cxx-qt-gen/src/generator/rust/constructor.rs
@@ -83,6 +83,7 @@ fn generate_default_constructor(
83
}],
84
cxx_qt_mod_contents: vec![parse_quote! {
85
#[doc(hidden)]
86
+ #[allow(clippy::unnecessary_box_returns)]
87
pub fn #create_rs_ident() -> std::boxed::Box<#rust_struct_ident> {
88
// Wrapping the call to Default::default in a Box::new call leads
89
// to a nicer error message, as it's not trying to infer trait bounds
0 commit comments