Skip to content

Commit

Permalink
also allow non_local_definitions in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Feb 26, 2024
1 parent 2e29a14 commit 8b2880e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@
rust_2021_prelude_collisions,
warnings
),
allow(unused_variables, unused_assignments, unused_extern_crates)
allow(
unused_variables,
unused_assignments,
unused_extern_crates,
// FIXME https://github.com/rust-lang/rust/issues/121621#issuecomment-1965156376
unknown_lints,
non_local_definitions,
)
)))]

//! Rust bindings to the Python interpreter.
Expand Down

0 comments on commit 8b2880e

Please sign in to comment.