Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failing with rustc 1.50.0 #1284

Closed
Tpt opened this issue Feb 14, 2021 · 4 comments
Closed

Compilation failing with rustc 1.50.0 #1284

Tpt opened this issue Feb 14, 2021 · 4 comments

Comments

@Tpt
Copy link

Tpt commented Feb 14, 2021

First, thank you so much for Nom! It's a so much useful piece of software.

When compiling nom with Rust stable 1.50.0, I get a compilation error.

It is a conflict between BitMemory::BITS from bitvec and IsNumber::BITS from funty on structs that implements both traits.

Here is the `cargo check` output.
cargo check 
    Checking bitvec v0.19.4
error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:307:25
    |
307 |         check("load", len, M::BITS);
    |                               ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
307 |         check("load", len, BitMemory::BITS);
    |                            ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
307 |         check("load", len, IsNumber::BITS);
    |                            ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:341:12
    |
341 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
341 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
341 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:341:19
    |
304 |     fn load_le<M>(&self) -> M
    |                - this type parameter
...
341 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:362:25
    |
362 |         check("load", len, M::BITS);
    |                               ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
362 |         check("load", len, BitMemory::BITS);
    |                            ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
362 |         check("load", len, IsNumber::BITS);
    |                            ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:377:12
    |
377 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
377 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
377 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:377:19
    |
359 |     fn load_be<M>(&self) -> M
    |                - this type parameter
...
377 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:397:26
    |
397 |         check("store", len, M::BITS);
    |                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
397 |         check("store", len, BitMemory::BITS);
    |                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
397 |         check("store", len, IsNumber::BITS);
    |                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:412:12
    |
412 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
412 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
412 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:412:19
    |
394 |     fn store_le<M>(&mut self, mut value: M)
    |                 - this type parameter
...
412 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:428:26
    |
428 |         check("store", len, M::BITS);
    |                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
428 |         check("store", len, BitMemory::BITS);
    |                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
428 |         check("store", len, IsNumber::BITS);
    |                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:442:12
    |
442 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
442 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
442 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:442:19
    |
425 |     fn store_be<M>(&mut self, mut value: M)
    |                 - this type parameter
...
442 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:467:25
    |
467 |         check("load", len, M::BITS);
    |                               ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
467 |         check("load", len, BitMemory::BITS);
    |                            ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
467 |         check("load", len, IsNumber::BITS);
    |                            ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:487:12
    |
487 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
487 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
487 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:487:19
    |
464 |     fn load_le<M>(&self) -> M
    |                - this type parameter
...
487 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:507:25
    |
507 |         check("load", len, M::BITS);
    |                               ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
507 |         check("load", len, BitMemory::BITS);
    |                            ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
507 |         check("load", len, IsNumber::BITS);
    |                            ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:523:12
    |
523 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
523 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
523 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:523:19
    |
504 |     fn load_be<M>(&self) -> M
    |                - this type parameter
...
523 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:548:26
    |
548 |         check("store", len, M::BITS);
    |                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
548 |         check("store", len, BitMemory::BITS);
    |                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
548 |         check("store", len, IsNumber::BITS);
    |                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:565:12
    |
565 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
565 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
565 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:565:19
    |
545 |     fn store_le<M>(&mut self, mut value: M)
    |                 - this type parameter
...
565 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:586:26
    |
586 |         check("store", len, M::BITS);
    |                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
586 |         check("store", len, BitMemory::BITS);
    |                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
586 |         check("store", len, IsNumber::BITS);
    |                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:608:12
    |
608 |                     if M::BITS > T::Mem::BITS {
    |                           ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
608 |                     if BitMemory::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
608 |                     if IsNumber::BITS > T::Mem::BITS {
    |                        ^^^^^^^^^^^^^^

error[E0308]: mismatched types
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/field.rs:608:19
    |
583 |     fn store_be<M>(&mut self, mut value: M)
    |                 - this type parameter
...
608 |                     if M::BITS > T::Mem::BITS {
    |                                  ^^^^^^^^^^^^ expected type parameter `M`, found `u8`
    |
    = note: expected type parameter `M`
                         found type `u8`

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:550:45
    |
550 |     pub(crate) const END: Self = make!(tail R::BITS);
    |                                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
550 |     pub(crate) const END: Self = make!(tail BitMemory::BITS);
    |                                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
550 |     pub(crate) const END: Self = make!(tail IsNumber::BITS);
    |                                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:172:16
    |
172 |         if idx >= R::BITS {
    |                      ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
172 |         if idx >= BitMemory::BITS {
    |                   ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
172 |         if idx >= IsNumber::BITS {
    |                   ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:197:13
    |
197 |             idx < R::BITS,
    |                      ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
197 |             idx < BitMemory::BITS,
    |                   ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
197 |             idx < IsNumber::BITS,
    |                   ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:200:7
    |
200 |             R::BITS
    |                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
200 |             BitMemory::BITS
    |
help: disambiguate the associated constant for candidate #2
    |
200 |             IsNumber::BITS
    |

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:218:42
    |
218 |         (make!(idx next & R::MASK), next == R::BITS)
    |                                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
218 |         (make!(idx next & R::MASK), next == BitMemory::BITS)
    |                                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
218 |         (make!(idx next & R::MASK), next == IsNumber::BITS)
    |                                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:357:16
    |
357 |             if (0 .. R::BITS as isize).contains(&far) {
    |                         ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
357 |             if (0 .. BitMemory::BITS as isize).contains(&far) {
    |                      ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
357 |             if (0 .. IsNumber::BITS as isize).contains(&far) {
    |                      ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:572:14
    |
572 |             end <= R::BITS,
    |                       ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
572 |             end <= BitMemory::BITS,
    |                    ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
572 |             end <= IsNumber::BITS,
    |                    ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:575:7
    |
575 |             R::BITS
    |                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
575 |             BitMemory::BITS
    |
help: disambiguate the associated constant for candidate #2
    |
575 |             IsNumber::BITS
    |

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:631:26
    |
631 |         let bits_in_head = (R::BITS - head) as usize;
    |                                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
631 |         let bits_in_head = (BitMemory::BITS - head) as usize;
    |                             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
631 |         let bits_in_head = (IsNumber::BITS - head) as usize;
    |                             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:729:16
    |
729 |         if pos >= R::BITS {
    |                      ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
729 |         if pos >= BitMemory::BITS {
    |                   ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
729 |         if pos >= IsNumber::BITS {
    |                   ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:756:13
    |
756 |             pos < R::BITS,
    |                      ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
756 |             pos < BitMemory::BITS,
    |                   ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
756 |             pos < IsNumber::BITS,
    |                   ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:759:7
    |
759 |             R::BITS
    |                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
759 |             BitMemory::BITS
    |
help: disambiguate the associated constant for candidate #2
    |
759 |             IsNumber::BITS
    |

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:907:7
    |
907 |             R::BITS as usize
    |                ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
907 |             BitMemory::BITS as usize
    |             ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
907 |             IsNumber::BITS as usize
    |             ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:942:40
    |
942 |         write!(fmt, "{:0>1$b}", self.sel, R::BITS as usize)
    |                                              ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
942 |         write!(fmt, "{:0>1$b}", self.sel, BitMemory::BITS as usize)
    |                                           ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
942 |         write!(fmt, "{:0>1$b}", self.sel, IsNumber::BITS as usize)
    |                                           ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
    --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/index.rs:1081:41
     |
1081 |         write!(fmt, "{:0>1$b}", self.mask, R::BITS as usize)
     |                                               ^^^^ multiple `BITS` found
     |
note: candidate #1 is defined in the trait `BitMemory`
    --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
     |
29   |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
    --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
     |
144  |     const BITS: u32;
     |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
     |
1081 |         write!(fmt, "{:0>1$b}", self.mask, BitMemory::BITS as usize)
     |                                            ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
     |
1081 |         write!(fmt, "{:0>1$b}", self.mask, IsNumber::BITS as usize)
     |                                            ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:31:25
    |
31  |     const INDX: u8 = Self::BITS.trailing_zeros() as u8;
    |                            ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
31  |     const INDX: u8 = BitMemory::BITS.trailing_zeros() as u8;
    |                      ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
31  |     const INDX: u8 = IsNumber::BITS.trailing_zeros() as u8;
    |                      ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:33:25
    |
33  |     const MASK: u8 = Self::BITS - 1;
    |                            ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
33  |     const MASK: u8 = BitMemory::BITS - 1;
    |                      ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
33  |     const MASK: u8 = IsNumber::BITS - 1;
    |                      ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/order.rs:275:15
    |
275 |         if ct == R::BITS {
    |                     ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
275 |         if ct == BitMemory::BITS {
    |                  ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
275 |         if ct == IsNumber::BITS {
    |                  ^^^^^^^^^^^^^^

error[E0034]: multiple applicable items in scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/order.rs:315:15
    |
315 |         if ct == R::BITS {
    |                     ^^^^ multiple `BITS` found
    |
note: candidate #1 is defined in the trait `BitMemory`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.19.4/src/mem.rs:29:2
    |
29  |     const BITS: u8 = mem::size_of::<Self>() as u8 * 8;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: candidate #2 is defined in the trait `IsNumber`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/funty-1.2.0/src/lib.rs:144:2
    |
144 |     const BITS: u32;
    |     ^^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #1
    |
315 |         if ct == BitMemory::BITS {
    |                  ^^^^^^^^^^^^^^^
help: disambiguate the associated constant for candidate #2
    |
315 |         if ct == IsNumber::BITS {
    |                  ^^^^^^^^^^^^^^

error: aborting due to 43 previous errors

Some errors have detailed explanations: E0034, E0308.
For more information about an error, try `rustc --explain E0034`.
error: could not compile `bitvec`

To learn more, run the command again with --verbose.
  • Rust version : rustc 1.50.0 (cb75ad5db 2021-02-10)
  • nom version : v6.10
  • nom compilation features used: default features
@waynewaynetsai
Copy link

waynewaynetsai commented Feb 14, 2021

I had the same problem with rustc 1.50.0 and nom 6. After i downgrade nom to version 5.1.2 then rebuild it, everything works fine.

@waynewaynetsai
Copy link

waynewaynetsai commented Feb 14, 2021

This problem seems to be caused by funty 1.2 , see the following issues

  1. 0.19 bitvec break by 1.2 funty, causes nom 6.1 to fail to compile
  2. Build failure traced back to old commit

@waynewaynetsai
Copy link

Currently I do this workaroud in my Cargo.toml for compiling nom successfully

[dependencies]
nom = "6"
funty="=1.1.0"

see also

@Geal
Copy link
Collaborator

Geal commented Feb 15, 2021

thank you for the report, I just released nom 6.1.1 with the fix in #1286

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants