Skip to content

Instantly share code, notes, and snippets.

@antifuchs
Created September 15, 2018 18:08
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 antifuchs/a72a47ecaf9e395bd5383a9d7583e2d4 to your computer and use it in GitHub Desktop.
Save antifuchs/a72a47ecaf9e395bd5383a9d7583e2d4 to your computer and use it in GitHub Desktop.
-*- mode: cargo-process; default-directory: "~/Hacks/fibonacci_codec/" -*-
Cargo-Process started at Sat Sep 15 20:08:25
/Users/asf/.cargo/bin/cargo test --manifest-path /Users/asf/Hacks/fibonacci_codec/Cargo.toml
Compiling fibonacci_codec v0.1.2-dev (file:///Users/asf/Hacks/fibonacci_codec)
warning: unused import: `fib_decode_u64`
--> tests/decode.rs:7:23
|
7 | use fibonacci_codec::{fib_decode_u64, fib_decode_u8, DecodeError, Encode};
| ^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
warning: unused imports: `NonZeroU16`, `NonZeroU32`, `NonZeroU64`, `NonZeroU8`
--> tests/decode.rs:10:16
|
10 | use std::num::{NonZeroU16, NonZeroU32, NonZeroU64, NonZeroU8};
| ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^
error[E0599]: no method named `fib_encode` found for type `std::slice::Iter<'_, std::num::NonZeroU8>` in the current scope
--> tests/decode.rs:42:32
|
42 | let encoded = input.iter().fib_encode().unwrap();
| ^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `fibonacci_codec`.
To learn more, run the command again with --verbose.
Cargo-Process exited abnormally with code 101 at Sat Sep 15 20:08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment