about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
AgeCommit message (Collapse)AuthorLines
2020-09-20use `array_windows` instead of `windows` in the compilerBastian Kauschke-2/+3
2020-09-19cache types during normalizationBastian Kauschke-5/+69
2020-09-19Use `T::BITS` instead of `size_of::<T> * 8`.Mara Bos-1/+2
2020-09-17Remove redundant #![feature(...)] 's from compiler/est31-1/+0
2020-09-17Replace const_generics feature gate with min_const_genericsest31-1/+1
The latter is on the path to stabilization.
2020-09-12update the version of itertools and parking_lotAndreas Jonson-1/+1
this is to avoid compiling multiple version of the crates in rustc
2020-09-08Capitalize safety commentsFlying-Toast-1/+1
2020-09-04Add `BREAK` too, and improve the commentsScott McMurray-1/+1
2020-09-04Use ops::ControlFlow in graph::iterateScott McMurray-8/+6
2020-09-02Auto merge of #76233 - cuviper:unhasher, r=Mark-Simulacrumbors-1/+59
Avoid rehashing Fingerprint as a map key This introduces a no-op `Unhasher` for map keys that are already hash- like, for example `Fingerprint` and its wrapper `DefPathHash`. For these we can directly produce the `u64` hash for maps. The first use of this is `def_path_hash_to_def_id: Option<UnhashMap<DefPathHash, DefId>>`. cc #56308 r? @eddyb
2020-09-01Avoid rehashing Fingerprint as a map keyJosh Stone-1/+59
This introduces a no-op `Unhasher` for map keys that are already hash- like, for example `Fingerprint` and its wrapper `DefPathHash`. For these we can directly produce the `u64` hash for maps. The first use of this is `def_path_hash_to_def_id: Option<UnhashMap<DefPathHash, DefId>>`.
2020-09-01datastructures: replace `lazy_static` by `SyncLazy` from stdmarmeladema-28/+25
2020-08-30datastructures: replace `once_cell` crate with an impl from stdmarmeladema-3/+3
2020-08-30mv compiler to compiler/mark-0/+12150