diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-06 22:33:06 +0200 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2022-08-06 22:33:06 +0200 |
| commit | f20ceb1c6fd7fa29a91677be548d6f8ca6c4b172 (patch) | |
| tree | 0ca3de1afd8d7fd9f648263550c4fa4ed91f9b45 /compiler/rustc_span/src/source_map | |
| parent | 55f46419afd2e49acfc6be176ad4aeadaa5686d7 (diff) | |
| download | rust-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.rs | 1 |
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!( |
