about summary refs log tree commit diff
path: root/compiler/rustc_span/src/source_map
diff options
context:
space:
mode:
authorThe Miri Conjob Bot <miri@cron.bot>2023-12-26 05:00:54 +0000
committerThe Miri Conjob Bot <miri@cron.bot>2023-12-26 05:00:54 +0000
commit236ae9905a08ff697ddb35261795ad76a1fd3336 (patch)
tree30e459f85746867f972df360431022e4eb4c036e /compiler/rustc_span/src/source_map
parentf2407d98de61888e287efc97dbc4104f3581b70d (diff)
parent2271c26e4a8e062bb00d709d0ccb5846e0c341b9 (diff)
downloadrust-236ae9905a08ff697ddb35261795ad76a1fd3336.tar.gz
rust-236ae9905a08ff697ddb35261795ad76a1fd3336.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_span/src/source_map')
-rw-r--r--compiler/rustc_span/src/source_map/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_span/src/source_map/tests.rs b/compiler/rustc_span/src/source_map/tests.rs
index 113ca493d36..130522a302d 100644
--- a/compiler/rustc_span/src/source_map/tests.rs
+++ b/compiler/rustc_span/src/source_map/tests.rs
@@ -234,14 +234,14 @@ fn t10() {
         multibyte_chars,
         non_narrow_chars,
         normalized_pos,
-        name_hash,
+        stable_id,
         ..
     } = (*src_file).clone();
 
     let imported_src_file = sm.new_imported_source_file(
         name,
         src_hash,
-        name_hash,
+        stable_id,
         source_len.to_u32(),
         CrateNum::new(0),
         FreezeLock::new(lines.read().clone()),