about summary refs log tree commit diff
path: root/compiler/rustc_span/src/source_map
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-08-06 22:33:06 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2022-08-06 22:33:06 +0200
commitf20ceb1c6fd7fa29a91677be548d6f8ca6c4b172 (patch)
tree0ca3de1afd8d7fd9f648263550c4fa4ed91f9b45 /compiler/rustc_span/src/source_map
parent55f46419afd2e49acfc6be176ad4aeadaa5686d7 (diff)
downloadrust-f20ceb1c6fd7fa29a91677be548d6f8ca6c4b172.tar.gz
rust-f20ceb1c6fd7fa29a91677be548d6f8ca6c4b172.zip
Encode index of SourceFile along with span.
Diffstat (limited to 'compiler/rustc_span/src/source_map')
-rw-r--r--compiler/rustc_span/src/source_map/tests.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/source_map/tests.rs b/compiler/rustc_span/src/source_map/tests.rs
index be827cea874..2cada019b7f 100644
--- a/compiler/rustc_span/src/source_map/tests.rs
+++ b/compiler/rustc_span/src/source_map/tests.rs
@@ -252,6 +252,7 @@ fn t10() {
         normalized_pos,
         start_pos,
         end_pos,
+        0,
     );
 
     assert!(