diff --git a/src/lib.rs b/src/lib.rs index bdd1045..c77570c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -575,6 +575,8 @@ specifiers and other APIs. #![warn(missing_debug_implementations)] // Document ALL THE THINGS! #![deny(missing_docs)] +// See: https://github.com/rust-lang/rust/pull/121364 +#![allow(ambiguous_negative_literals)] // It should be possible to support other pointer widths, but this library // hasn't been tested nor thought about much in contexts with pointers less diff --git a/tests/lib.rs b/tests/lib.rs index 9820dc2..1377885 100644 --- a/tests/lib.rs +++ b/tests/lib.rs @@ -1 +1,4 @@ +// See: https://github.com/rust-lang/rust/pull/121364 +#![allow(ambiguous_negative_literals)] + mod tc39_262;