From 0b4c2cccac30ebcd436e0cfd77b34019c40d4ce3 Mon Sep 17 00:00:00 2001 From: Michael Woerister Date: Fri, 8 Dec 2017 17:07:48 +0100 Subject: incr.comp.: Do less hashing per Span. --- src/librustc/ich/impls_syntax.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/librustc/ich/impls_syntax.rs') diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index c25aa10eb1e..dfb90a5d27f 100644 --- a/src/librustc/ich/impls_syntax.rs +++ b/src/librustc/ich/impls_syntax.rs @@ -394,6 +394,8 @@ impl<'gcx> HashStable> for FileMap { // Do not hash the source as it is not encoded src: _, src_hash, + // The stable id is just a hash of other fields + stable_id: _, external_src: _, start_pos, end_pos: _, -- cgit 1.4.1-3-g733a5