Skip to content

Instantly share code, notes, and snippets.

@r10s
Created December 9, 2019 21:55
Show Gist options
  • Save r10s/56dfccebbc2d65b52e774ccde933bd5a to your computer and use it in GitHub Desktop.
Save r10s/56dfccebbc2d65b52e774ccde933bd5a to your computer and use it in GitHub Desktop.
Showing Recent Messages
--> /Users/bpetersen/.cargo/registry/src/github.com-1ecc6299db9ec823/hostname-0.2.0/src/nix.rs:51:13
|
51 | size,
| ^^^^ expected i32, found usize
|
help: you can convert an `usize` to `i32` and panic if the converted value wouldn't fit
|
51 | size.try_into().unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^
aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
could not compile `hostname`.
build failed, waiting for other jobs to finish...
build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment