-
The call graph design includes the functionality to trim to a concrete call graph that includes only those callables that are part of the entrypoint dependency tree. However, this means that if a give…
-
# Proposal
## Summary and problem statement
### Change the semantics of `#[inline]` attribute.
* Currently in Rust `#[inline]` is following LLVM-style inline policies
** `#[inline(always)]`…
-
Codegen recently [gained a loop](https://github.com/rust-lang/rust/pull/70820/files#diff-32c57af5c8e23eb048f55d1e955e5cd5R194) to make sure that all constants required by the MIR actually error. Miri …
-
I want to reiterate on the discussion about `const fn` calls to promoteds. During the stabilization of `min_const_fn`, we recently punted on the topic by not promoting any `const fn` calls, except a s…
-
功能介绍 Rust官方及社区最新信息搜集、文章推送,教程学…
-
This issue proposes that Go should support some form of generic programming.
It has the Go2 label, since for Go1.x the language is more or less done.
Accompanying this issue is [a general generics p…
-
To make functions more reusable, we would like to support *label polymorphism*.
```
fun gcd{a,b}(x: int{a}, y: int{b}, ret: out int{a || b}) {
if (y == 0) {
ret = a;
} else {
…
-
Based on https://github.com/rust-lang/compiler-team/issues/375
# Summary
Add a new lint `NOOP_METHOD_CALL`, which fires on calls to methods which are known to do nothing. To start with, we wou…
-
# Proposal
## Summary and problem statement
Some types have trivial implementations of particular traits - for example, `::clone` and `::borrow`. These methods are useful in generic contexts, si…
-
## Context
Currently after each addition or substraction steps there is a reduction done if the result is over the field modulus.
Due to constant-time constraints, there is no shortcut if it is …