janitor: Disable clippy::overly_complex_bool_expr in generated rust code

This makes clippy error out in our users code (using a nightly compiler).
This commit is contained in:
Tobias Hunger 2023-11-02 11:01:19 +01:00 committed by Tobias Hunger
parent b925460635
commit c2056075c0

View file

@ -201,6 +201,7 @@ pub fn generate(doc: &Document) -> TokenStream {
#[allow(clippy::cmp_owned)] // The generated code will do this
#[allow(clippy::redundant_clone)] // TODO: We clone properties more often then needed
// according to clippy!
#[allow(clippy::overly_complex_bool_expr)]
mod #compo_module {
use slint::private_unstable_api::re_exports::*;
use slint::private_unstable_api::re_exports as sp;