-
The following code on the current nightly produces an ICE:
``` rust
#![feature(associated_consts)]
struct Test {
_x: [u32; Test::ARRAY_SIZE]
}
impl Test {
const ARRAY_SIZE: usize = 4;
}
fn…
-
rezzy opcode explodes in highpass mode (imode=1) when the cutoff frequency is around 13350 Hz or aobve; likwise in lowpass mode (imode=0) it explodes when the cutoff is below 133 Hz.
Could it be someh…
-
The following code generates an internal compiler error:
``` rust
struct Mozilla;
fn some_function(c: &Mozilla) {}
fn main() {
some_function(&Mozilla::PHANTOM);
}
```
As far as I can tell:
- O…
ghost updated
9 years ago
-
This code triggers an ICE:
```
use std::collections::*;
pub enum A {a}
fn main() {
let xs = HashSet::new();
xs.contains(&A::DoesntExist);
}
```
```
error: internal compiler error: unexpect…
-
I get an internal compiler error on the input detailed below.
I tried this code:
```
struct B;
impl B {
fn func(&self) { }
}
fn main() {
let x:&fn(&B) = &B::func;
}
```
I expected to see …
-
```
src/serial.rs:10:17: 10:26 error: internal compiler error: cannot relate bound region: ReLateBound(DebruijnIndex { depth: 1 }, BrNamed(DefId { krate: 1, node: 61296 }, 'a))
-
When I tried to compile my project, rustc panicked.
I put together a playpen that reproduces the issue (on stable, beta, or nightly, in debug or release mode), but I'm not sure where exactly the issu…
-
On rustc 1.0.0-nightly (2b01a37ec 2015-02-21) (built 2015-02-21) the follow causes an ICE:
``` rust
trait Expr : PartialEq {
type Item = Expr;
}
fn main() {}
```
Full backtrace:
error: internal…
-
I tried this code (cargo build)
https://github.com/sebcrozet/nalgebra/tree/8e5ea344365bdd83dd84b0992888e49c22f8b799
The diff from last good is large, but the current goal was a conversion to associa…
-
When I attempt to assign to a variable of type `&fn(&B)`, other than in the declaration of the variable, I get an unexpected panic in the compiler.
I tried this code:
```
struct B;
impl B {
fn …