rust/src/test/run-make
bors 9722952f0b Auto merge of #76256 - tgnottingham:issue-74890, r=nikomatsakis
incr-comp: hash and serialize span end line/column

Hash both the length and the end location (line/column) of a span. If we
hash only the length, for example, then two otherwise equal spans with
different end locations will have the same hash. This can cause a
problem during incremental compilation wherein a previous result for a
query that depends on the end location of a span will be incorrectly
reused when the end location of the span it depends on has changed. A
similar analysis applies if some query depends specifically on the
length of the span, but we only hash the end location. So hash both.

Fix #46744, fix #59954, fix #63161, fix #73640, fix #73967, fix #74890, fix #75900

---

See #74890 for a more in-depth analysis.

I haven't thought about what other problems this root cause could be responsible for. Please let me know if anything springs to mind. I believe the issue has existed since the inception of incremental compilation.
2020-11-12 15:34:09 +00:00
..
env-dep-info proc_macro: Add API for tracked access to environment variables 2020-07-26 13:37:37 +03:00
incr-prev-body-beyond-eof incr-comp: add ignore-32bit directive to incr-prev-body-beyond-eof test 2020-11-09 14:08:52 -08:00
issue-36710 incr-comp: add ignore-32bit directive to incr-prev-body-beyond-eof test 2020-11-09 14:08:52 -08:00
llvm-outputs add test for issue #21335 2018-11-26 12:41:43 -05:00
rustc-macro-dep-files expand: Stop using nonterminals for passing tokens to attribute and derive macros 2020-07-01 13:13:21 +03:00
static-pie Fix src/test/run-make/static-pie/test-aslr.rs 2020-07-13 11:33:03 +02:00
thumb-none-cortex-m Provide bootstrap tools with RUSTC in environment 2020-09-20 16:39:13 -04:00
thumb-none-qemu fix shellcheck error of SC2148 2020-11-06 20:33:12 +09:00
wasm-custom-section Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-custom-sections-opt Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-export-all-symbols Check for the entry kind 2020-01-08 10:05:44 +01:00
wasm-import-module Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-panic-small Use Cell::take in a couple places 2020-04-26 11:50:53 +02:00
wasm-stringify-ints-small Change opt-level from 2 back to 3 2020-01-30 15:40:14 -05:00
wasm-symbols-different-module Fix handling of wasm import modules and names 2019-12-16 14:43:46 -08:00
wasm-symbols-not-exported Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
wasm-symbols-not-imported Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
x86_64-fortanix-unknown-sgx-lvi fix shellcheck error of SC2148 2020-11-06 20:33:12 +09:00
git_clone_sha1.sh Remove licenses 2018-12-25 21:08:33 -07:00