-
Currently master_crate_map maps between crate names (which is the same for lib and bin crate types).
Furthermore, when reloading multiple separate `Analysis`es, I think these are lowered into `Id`s w…
-
rustfmt 0.4.1-nightly (374dba8 2018-03-22) fails to format the following code:
```rust
#![feature(raw_identifiers)]
fn main() {
let r#x = "hello, world";
println!("{}", r#x);
}
```
…
-
This little program:
```
#![feature(conservative_impl_trait)]
fn suffixes(txt: &str) -> impl Iterator {
txt.char_indices().skip(1).map(|&(j, _)| &txt[j ..])
}
fn main() {}
```
Genera…
-
The occurs check code in `src/solve/infer/unify.rs` (specifically, the methods defined on `OccursCheck`) follows a very folder-like pattern. Unfortunately, it can't quite use the `Folder` trait (as de…
-
Tracking issue for https://github.com/rust-lang/rfcs/pull/1561.
Roadmap: https://github.com/rust-lang/rust/issues/35896#issuecomment-277870744.
cc @nrc @jseyfried
-
I was looking into an issue that someone asked about on #rust with a large struct (284 fields) and a serde Deserialize implementation. I ran it through cargo-expand, which calls into rustfmt 0.7.1, an…
-
As #21511 has shown, there are lots of cases in which integer suffixes aren't needed at all.
Usually audits are needed to make sure the intended type is inferred, and disabling the fallback to `i32` w…
eddyb updated
6 years ago
-
Compiling `crossbeam` v0.2.10 and `smallvec` v0.4.4 with `-Z mir-opt-level=3`, I get the following ICEs:
### crossbeam
```text
error: internal compiler error: unexpected panic
note: the comp…
-
````
rustc 1.24.0-nightly (0077d128d 2017-12-14)
````
````
Fresh backtrace v0.3.4
Fresh error-chain v0.11.0
Fresh cargo_metadata v0.3.3
Compiling rustfmt-nightly v0.3.…
-
For each query invocation the query system will track which other queries have been invoked by the former. We collect this data in the `DepGraph` and use it to find which queries need to be re-execute…