Skip to content

Instantly share code, notes, and snippets.

@kracekumar
Created October 25, 2016 15:48
Show Gist options
  • Save kracekumar/2357ff926a866e7802c2c3f286aaefa5 to your computer and use it in GitHub Desktop.
Save kracekumar/2357ff926a866e7802c2c3f286aaefa5 to your computer and use it in GitHub Desktop.
Good error message
user@user-ThinkPad-T400 ~/c/imon> sudo ~/.cargo/bin/cargo run --bin imon -- start
Compiling imon v0.1.0 (file:///home/user/code/imon)
error[E0425]: unresolved name `payload`. Did you mean `paylod`?
--> src/cli.rs:91:29
|
91 | decode_ipv4_packet(&payload);
| ^^^^^^^
error: aborting due to previous error
error: Could not compile `imon`.
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