]> git.lizzy.rs Git - rust.git/commit
Auto merge of #36025 - michaelwoerister:incr-comp-hash-spans, r=nikomatsakis
authorbors <bors@rust-lang.org>
Tue, 6 Sep 2016 20:22:35 +0000 (13:22 -0700)
committerGitHub <noreply@github.com>
Tue, 6 Sep 2016 20:22:35 +0000 (13:22 -0700)
commit923bac45964940c56ab1075fb7980896de1eb620
treec917d9e5681f15bdb3f7e72e707ce5934875d3f0
parent13c4e32e7aca87cbf867be68bf0fc45528bb3fcf
parent3057b7b9749f16ad982b54b4bdeee7e2c8a845bb
Auto merge of #36025 - michaelwoerister:incr-comp-hash-spans, r=nikomatsakis

incr. comp.: Take spans into account for ICH

This PR makes the ICH (incr. comp. hash) take spans into account when debuginfo is enabled.

A side-effect of this is that the SVH (which is based on the ICHs of all items in the crate) becomes sensitive to the tiniest change in a code base if debuginfo is enabled. Since we are not trying to model ABI compatibility via the SVH anymore (this is done via the crate disambiguator now), this should be not be a problem.

Fixes #33888.
Fixes #32753.
src/librustc/session/config.rs
src/librustc/session/mod.rs
src/librustc_driver/driver.rs
src/librustc_incremental/calculate_svh/svh_visitor.rs
src/librustc_incremental/lib.rs
src/librustc_trans/back/symbol_names.rs