Skip to content

Instantly share code, notes, and snippets.

@zackmdavis
Created November 20, 2014 05:52
Show Gist options
  • Save zackmdavis/5d0f8853fdb81e53488a to your computer and use it in GitHub Desktop.
Save zackmdavis/5d0f8853fdb81e53488a to your computer and use it in GitHub Desktop.
zmd@ExpectedReturn:~/Code/Textbook_Exercises_A/Programming_Challenges$ rustc 5-9-7.rs --test
<std macros>:8:12: 31:67 error: cannot apply unary operator `!` to type `Hardcover`
<std macros>:8 if !$cond {
<std macros>:9 fail!($($arg),+)
<std macros>:10 }
<std macros>:11 );
<std macros>:12 )
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'index out of bounds: the len is 12 but the index is 12', /build/buildd/rust-0.11-0.11/src/libsyntax/lib.rs:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment