Skip to content

Instantly share code, notes, and snippets.

@DaGenix
Created November 2, 2013 00:16
Show Gist options
  • Save DaGenix/7273937 to your computer and use it in GitHub Desktop.
Save DaGenix/7273937 to your computer and use it in GitHub Desktop.
ICE
struct Struct<'self, B> {
val: B
}
impl <'self, B: MutableVector<'self, u8>> Struct<'self, B> {
}
@DaGenix
Copy link
Author

DaGenix commented Nov 2, 2013

task '' failed at 'region parameterization should have inferred that this type is RP', /home/enix/code/rust/src/librustc/middle/typeck/rscope.rs:238
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task '

' failed at 'explicit failure', /home/enix/code/rust/src/librustc/rustc.rs:396

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment