rust/src
bors 73c3f55a3e Auto merge of #43743 - michaelwoerister:gcx-tcx-switcheroo, r=eddyb
Some assorted region hashing fixes.

This PR contains three changes.
1. It changes what we implement `HashStable` for. Previously, the trait was implemented for things in the local `TyCtxt`. That was OK, since we only invoked hashing with a `TyCtxt<'_,  'tcx, 'tcx>` where there is no difference. With query result hashing this becomes a problem though. So we now implement `HashStable` for things in `'gcx`.
2. The PR makes the regular `HashStable` implementation *not* anonymize late-bound regions anymore. It's a waste of computing resources and it's not clear that it would always be correct to do so.
3. The PR adds an option for stable hashing to treat all regions as erased and uses this new option when computing the `TypeId`. This should help with https://github.com/rust-lang/rust/issues/41875.

I did not add a test case for (3) since that's not possible yet. But it looks like @zackmdavis has something in the pipeline there `:)`.

r? @eddyb
2017-08-11 02:23:16 +00:00
..
bootstrap pass rustc_libdir instead of sysroot_libdir() for running rustdoc from rustbuild 2017-08-08 06:37:40 +02:00
build_helper rustbuild: Replace create_dir_racy with create_dir_all 2017-08-07 16:04:46 +01:00
ci
doc
etc Add support for Vector Average on PowerPC 2017-08-07 07:44:27 +00:00
grammar
jemalloc@11bfb0dcf8
liballoc Auto merge of #43582 - ivanbakel:unused_mut_ref, r=arielb1 2017-08-10 08:53:22 +00:00
liballoc_jemalloc
liballoc_system
libarena
libbacktrace
libcollections
libcompiler_builtins@5e49856003
libcore Auto merge of #43582 - ivanbakel:unused_mut_ref, r=arielb1 2017-08-10 08:53:22 +00:00
libfmt_macros
libgetopts
libgraphviz
liblibc@2a5b50b7f7 addrinfo hint in lookup_host() needs clean initialization on all platforms 2017-08-07 09:07:26 -07:00
libpanic_abort
libpanic_unwind
libproc_macro
libprofiler_builtins
librand
librustc Auto merge of #43743 - michaelwoerister:gcx-tcx-switcheroo, r=eddyb 2017-08-11 02:23:16 +00:00
librustc_allocator
librustc_apfloat
librustc_asan
librustc_back
librustc_bitflags
librustc_borrowck
librustc_const_eval rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
librustc_const_math
librustc_data_structures Auto merge of #43582 - ivanbakel:unused_mut_ref, r=arielb1 2017-08-10 08:53:22 +00:00
librustc_driver Auto merge of #43522 - alexcrichton:rewrite-lints, r=michaelwoerister 2017-08-10 11:20:15 +00:00
librustc_errors
librustc_incremental
librustc_lint rustc: Rearchitect lints to be emitted more eagerly 2017-08-09 09:13:51 -07:00
librustc_llvm
librustc_lsan
librustc_metadata
librustc_mir Auto merge of #43559 - Nashenas88:nll-region-renumberer, r=arielb1 2017-08-10 19:48:14 +00:00
librustc_msan
librustc_passes Auto merge of #43522 - alexcrichton:rewrite-lints, r=michaelwoerister 2017-08-10 11:20:15 +00:00
librustc_platform_intrinsics Add support for Vector Average on PowerPC 2017-08-07 07:44:27 +00:00
librustc_plugin de-orphan extended information 2017-08-06 21:29:05 -07:00
librustc_privacy Auto merge of #43522 - alexcrichton:rewrite-lints, r=michaelwoerister 2017-08-10 11:20:15 +00:00
librustc_resolve Auto merge of #43522 - alexcrichton:rewrite-lints, r=michaelwoerister 2017-08-10 11:20:15 +00:00
librustc_save_analysis
librustc_trans Auto merge of #43589 - aidanhs:aphs-fix-system-malloc, r=alexcrichton 2017-08-10 22:32:51 +00:00
librustc_tsan
librustc_typeck Auto merge of #43522 - alexcrichton:rewrite-lints, r=michaelwoerister 2017-08-10 11:20:15 +00:00
librustdoc Auto merge of #43730 - nrc:driver-shim, r=eddyb 2017-08-10 01:22:43 +00:00
libserialize
libstd Auto merge of #43589 - aidanhs:aphs-fix-system-malloc, r=alexcrichton 2017-08-10 22:32:51 +00:00
libstd_unicode Auto merge of #42998 - behnam:uni-ver-type, r=sfackler 2017-08-08 06:48:45 +00:00
libsyntax Auto merge of #43720 - pornel:staticconst, r=petrochenkov 2017-08-10 15:10:17 +00:00
libsyntax_ext Auto merge of #43582 - ivanbakel:unused_mut_ref, r=arielb1 2017-08-10 08:53:22 +00:00
libsyntax_pos
libterm
libtest
libunwind
llvm@d9e7d2696e
rt
rtstartup
rustc
rustllvm Fix covered-switch-default warnings in PassWrapper 2017-08-08 16:17:33 +08:00
test Auto merge of #43743 - michaelwoerister:gcx-tcx-switcheroo, r=eddyb 2017-08-11 02:23:16 +00:00
tools Auto merge of #43589 - aidanhs:aphs-fix-system-malloc, r=alexcrichton 2017-08-10 22:32:51 +00:00
Cargo.lock Update libc to 0.2.29 2017-08-07 15:42:30 -07:00
Cargo.toml
stage0.txt