Created
November 10, 2017 23:28
-
-
Save achanda/853b4d4facd03b0ab2f3b14475411dcd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
error: cannot find macro `compiler_error!` in this scope | |
--> src/main.rs:56:1 | |
| | |
56 | / named!(ipparse<&[u8], IPv4Header>, | |
57 | | do_parse!(verihl : two_nibbles ~ | |
58 | | tos : be_u8 ~ | |
59 | | length : u16!(true) ~ | |
... | | |
79 | | dest_addr : dst_addr, | |
80 | | }})); | |
| |___________________^ help: you could try the macro: `compile_error!` | |
| | |
= note: this error originates in a macro outside of the current crate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment