-
The following simple definition of a data structure results in an ICE.
Replacing the main function with an empty one results in successful compilations (albeit with many unused-code warnings).
Infor…
-
Rust version:
```
: rustc -v
rustc 0.12.0-pre (ef352faea84fa16616b773bd9aa5020d7c76bff0 2014-07-18 21:46:32 +0000)
```
Backtrace:
```
: RUST_BACKTRACE=1 rustc graph_ice.rs
error: internal compiler…
nham updated
10 years ago
-
I have a straightforward little DataFrame that I want to group and plot.
```
yearID Krate teamID
37197 2006 0.115385 COL
37890 2007 0.235294 COL
38621 2008 0.242595 …
-
``` rust
fn foo {}
fn main() {
foo([1i, 2].iter());
}
```
```
test.rs:4:5: 4:8 error: internal compiler error: cannot relate bound region: ReLateBound(4, BrNamed(syntax::ast::DefId{krate: 0u32, …
-
It's September 22, and I just download today's compiler using `rustup.sh`. I tried to compile this modified version of rust-replace-map, using `FnOnce`:
``` rust
#![feature(unboxed_closures, overload…
-
Code sample:
``` rust
// ice.rs
#![feature(overloaded_calls)]
use std::ops;
struct Adder {
x: T
}
impl ops::Fn for Adder {
fn call(&self, args: (A, )) -> R {
let (y, ) = args;
…
-
Maybe the same as #16596 and #16747.
Source code:
``` rust
trait T {
fn g(&self) -> A;
}
fn f {
let m = i.g();
*m = 0;
}
fn main() {
}
```
The error was:
```
1.rs:7:5: 7:7 error: int…
-
```
failed to find block with tag 7
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://…
-
Extracted from an issue I encountered upgrading [html5ever](https://github.com/kmcallister/html5ever) to Rust master.
`foo.rs`:
``` rust
#![crate_type="lib"]
pub trait TokenSink {
fn process_to…
-
Encountered ICE when trying to implement something like `std::iter::Map` using a `F: FnMut` bound for the mapping function.
ICE in [middle/trans/type_of.rs](https://github.com/rust-lang/rust/blob/5c…
bluss updated
10 years ago