Skip to content

Instantly share code, notes, and snippets.

@drozdziak1
Created August 22, 2018 09:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drozdziak1/585cf7fc2b2aa53251a21ac228b6cdc3 to your computer and use it in GitHub Desktop.
Save drozdziak1/585cf7fc2b2aa53251a21ac228b6cdc3 to your computer and use it in GitHub Desktop.
error: expected `,`
--> src/main.rs:95:47
|
95 | OscPacket::Message(OscMessage { addr: "/pong".to_owned(), args: None, }) => info!("JMM ping OK"),
| ^^^^^^^
error[E0027]: pattern does not mention fields `addr`, `args`
--> src/main.rs:95:28
|
95 | OscPacket::Message(OscMessage { addr: "/pong".to_owned(), args: None, }) => info!("JMM ping OK"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing fields `addr`, `args`
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0027`.
error: Could not compile `jmm-cli`.
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