-
Currently, DAE pass create only one truncated copy of a function, one of whose arguments are constantly called with the same constant value. This works well for functions with default values. but ther…
-
### What it does
A method accepting `IntoIterator` does not need to get a `vec![13, 37]` and can take a `[13, 37]` instead.
### Advantage
When looking at it with `cargo-show-asm` Rust seems to opti…
-
This tells LLVM that the function has a given definition to allow for inlining, but that the function is already externally defined, so locally emitting object code for it is not necessary. It is nece…
-
## Motivation
[One of the advertised features of LALRPOP](http://lalrpop.github.io/lalrpop/tutorial/007_macros.html), macros/templates/generics are a useful tool for factoring out common parts of y…
CAD97 updated
2 years ago
-
The only reason we need to check this is that we allow you to write the "return type" for a variant. If we instead had:
```rust
#[flux::refined_by(b: bool)]
enum Option {
#[flux::variant([fa…
-
Please post your thoughts, or let me know if something is unclear/confusing!
# Summary
This RFC proposes the addition of a new storage type `RefRepr` and associated type aliases `ArrayRef`, `Arr…
-
Unsuprisingly, I am fond of modular type classes --- the implicit application of functors along designated paths of composition to obtain a structure of a specified signature in a "standard" (by decla…
-
See https://github.com/rust-lang/rust/pull/26783, which does something similar-ish for lints
-
**Describe the bug**
```
error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be a SIMD vector of `u32`, got `[u32; 2]`
--> /Users/liber/.cargo/registry/…
-
Currently, each codegen backend and the MIR interpreter needs to re-implement this logic:
https://github.com/rust-lang/rust/blob/50f6a9ed87e47c7a8ff6aefcde01a33821e80e20/compiler/rustc_codegen_ssa/…