-
When a function has explicit trait bounds it can interfere with trait resolution in weird ways, consider the following example:
```
trait X {
#[logic]
fn dummy(self);
}
impl X for F…
-
As for today the following blanket implementation exists:
https://github.com/rust-lang/rust/blob/e702534763599db252f2ca308739ec340d0933de/library/alloc/src/boxed.rs#L2443-L2458
The problem with th…
-
I am trying to call the function DftiSetValue from the Intel Math Library. The function has the layout MKL_LONG DftiSetValue(DFTI_DESCRIPTOR_HANDLE, enum DFTI_CONFIG_PARAM, ...), the first is an 8 by…
-
I'm trying to get karamel to run with nix. Maybe I missed a guide somewhere, but here's my documented failures. I would be very grateful for any pointers what I can fix in my setup to get it to run.
…
-
When polymorphization is enabled (`-Zpolymorphization=on`), then this can currently be observed by `TypeId`. For example, the following code when built with a polymorphization-enabled compiler will fa…
-
Since I'd like to use [Diesel](http://diesel.rs) with a SQLite database to store the data, I need a database schema that can do the following:
- insert and lookup type composition relation (i.e. TypeA…
-
Any upstream dylib and executable can then require that symbol to be present to prevent mixing up different versions of a dylib at runtime. This symbol only needs to exist for dylibs, not cdylibs or r…
-
In https://github.com/rust-lang/rust/pull/122580 I added some code that prevents the magic `compiler_builtins` crate from linking against `core`. The replacement of calls happens as late as possible, …
-
None of these suggestions changes the behavior of the compiler, but might simplify the code:
- [x] #84
- [x] Currently a datatype's type parameters are stored in the `Env` or `Ctxt`, while a def…
-
I'm running into the type_length_limit when using rayon.
As a simplified instance:
```
Vec::::new()
.into_par_iter()
.map(|x| x)
.map(|x| x)
.map(|x| x)
…