about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-03-19 02:19:33 +0000
committerAlex Macleod <alex@macleod.io>2025-04-10 13:39:23 +0000
commitf74032621621d32cf59739b00ecc8f7f9510fc28 (patch)
treedf46c38200f67c9d57296f745bc0c9570b7cba49 /compiler/rustc_interface/src/tests.rs
parent87e60a7d285f8ea560189024f85f2b194d1f168f (diff)
downloadrust-f74032621621d32cf59739b00ecc8f7f9510fc28.tar.gz
rust-f74032621621d32cf59739b00ecc8f7f9510fc28.zip
Allow drivers to supply a list of extra symbols to intern
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
-rw-r--r--compiler/rustc_interface/src/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs
index b44be1710ed..903cda3cb5b 100644
--- a/compiler/rustc_interface/src/tests.rs
+++ b/compiler/rustc_interface/src/tests.rs
@@ -53,7 +53,7 @@ where
         checksum_hash_kind,
     });
 
-    rustc_span::create_session_globals_then(DEFAULT_EDITION, sm_inputs, || {
+    rustc_span::create_session_globals_then(DEFAULT_EDITION, &[], sm_inputs, || {
         let temps_dir = sessopts.unstable_opts.temps_dir.as_deref().map(PathBuf::from);
         let io = CompilerIO {
             input: Input::Str { name: FileName::Custom(String::new()), input: String::new() },