diff --git a/py-polars/src/lib.rs b/py-polars/src/lib.rs index 00193e5158c1..4199a76fb0cc 100644 --- a/py-polars/src/lib.rs +++ b/py-polars/src/lib.rs @@ -1,6 +1,7 @@ #![feature(vec_into_raw_parts)] #![allow(clippy::nonstandard_macro_braces)] // Needed because clippy does not understand proc macro of PyO3 #![allow(clippy::transmute_undefined_repr)] +#![allow(non_local_definitions)] #![allow(clippy::too_many_arguments)] // Python functions can have many arguments due to default arguments extern crate polars as polars_rs;