-
The following produces no warnings:
```rust
pub const A: [i32;3] = [1,2,3];
pub const FOO: i32 = A[100000];
fn main() { println!("Verified"); }
```
But any attempt to use the FOO const will …
-
Although we have a `SingKind` instance for `(~>)`, we currently have no `SingI` instances for any inhabitants of `(~>)`. This is partly because most conceptual "inhabitants" of `(~>)` are type-level l…
-
The following programs produce a binary that will either segfault or produce a nonsense value seemingly depending on whether optimizations are enabled or not.
```rust
fn main() {
const FOO: u…
-
**Issue by [eddyb](https://github.com/eddyb)**
_Sunday Dec 29, 2013 at 19:35 GMT_
_For earlier discussion, see https://github.com/rust-lang/rust/issues/11196_
_This issue was labelled with: B-RFC i…
-
Discussion topic about how structs are represented in Rust. Some things to work out:
- Do we ever say *anything* about how a `#[repr(rust)]` struct is laid out
(and/or treated by the ABI)?
…
-
Originally reported at https://github.com/alexcrichton/futures-rs/issues/393 I've [minimized this example](https://gist.github.com/alexcrichton/00ae3faf1019fdf270d1d4b90de60e65) to a one-file reproduc…
-
Compiling the following code fails with:
```
error: reached the recursion limit during monomorphization (selection ambiguity)
```
```rust
extern crate futures; // 0.1.10
use futures::{stre…
-
The question came up in IRC why you cannot use a function annotated with `#[cfg(debug_assertions)]` inside `debug_assert!()` without compile error in release mode. This is because the macro is defined…
-
I am currently trying to create a SPIR-V backend but I am running into a few problems.
For example https://github.com/rust-lang/rust/blob/master/src/librustc_trans/collector.rs is private https://g…
-
The following should be discussed as part of an RFC for supporting portable vector types (`repr(simd)`) but the current behavior is unsound ([playground](https://play.rust-lang.org/?gist=65feeeae91031…