Skip to content

Instantly share code, notes, and snippets.

@achanda
Created November 10, 2017 23:28
Show Gist options
  • Save achanda/853b4d4facd03b0ab2f3b14475411dcd to your computer and use it in GitHub Desktop.
Save achanda/853b4d4facd03b0ab2f3b14475411dcd to your computer and use it in GitHub Desktop.
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