Skip to content

Commit

Permalink
Ignore non_local_definitions warning from beta rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jun 16, 2024
1 parent 53562dc commit f0e3ccb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyo3-macros-backend/src/pyimpl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ fn impl_py_methods(
) -> TokenStream {
let Ctx { pyo3_path } = ctx;
quote! {
#[allow(unknown_lints, non_local_definitions)]
impl #pyo3_path::impl_::pyclass::PyMethods<#ty>
for #pyo3_path::impl_::pyclass::PyClassImplCollector<#ty>
{
Expand Down

0 comments on commit f0e3ccb

Please sign in to comment.