Created
February 17, 2018 13:20
-
-
Save mloc/944828328f1e2143873c7facf5955359 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling nbug v0.1.0 (file:///mnt/c/Users/mloc/Desktop/devel/byxml/nbug) | |
error[E0277]: the trait bound `&[u8]: nom::Compare<u8>` is not satisfied | |
--> src/main.rs:3:1 | |
| | |
3 | / named!(ident, | |
4 | | recognize!(tuple!( | |
5 | | tag!(b'_'), | |
6 | | tag!(b'_') | |
7 | | )) | |
8 | | ); | |
| |__^ the trait `nom::Compare<u8>` is not implemented for `&[u8]` | |
| | |
= help: the following implementations were found: | |
<&'a [u8] as nom::Compare<&'b [u8; <unevaluated[]>]>> | |
<&'a [u8] as nom::Compare<[u8; <unevaluated[]>]>> | |
<&'a [u8] as nom::Compare<[u8; <unevaluated[]>]>> | |
<&'a [u8] as nom::Compare<&'b [u8; <unevaluated[]>]>> | |
and 64 others | |
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) | |
error[E0599]: no method named `input_len` found for type `u8` in the current scope | |
--> src/main.rs:3:1 | |
| | |
3 | / named!(ident, | |
4 | | recognize!(tuple!( | |
5 | | tag!(b'_'), | |
6 | | tag!(b'_') | |
7 | | )) | |
8 | | ); | |
| |__^ | |
| | |
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) | |
error[E0599]: no method named `input_len` found for type `u8` in the current scope | |
--> src/main.rs:3:1 | |
| | |
3 | / named!(ident, | |
4 | | recognize!(tuple!( | |
5 | | tag!(b'_'), | |
6 | | tag!(b'_') | |
7 | | )) | |
8 | | ); | |
| |__^ | |
| | |
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) | |
error[E0599]: no method named `input_len` found for type `u8` in the current scope | |
--> src/main.rs:3:1 | |
| | |
3 | / named!(ident, | |
4 | | recognize!(tuple!( | |
5 | | tag!(b'_'), | |
6 | | tag!(b'_') | |
7 | | )) | |
8 | | ); | |
| |__^ | |
| | |
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) | |
error[E0599]: no method named `input_len` found for type `u8` in the current scope | |
--> src/main.rs:3:1 | |
| | |
3 | / named!(ident, | |
4 | | recognize!(tuple!( | |
5 | | tag!(b'_'), | |
6 | | tag!(b'_') | |
7 | | )) | |
8 | | ); | |
| |__^ | |
| | |
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) | |
error: aborting due to 5 previous errors | |
error: Could not compile `nbug`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment