about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-25 13:55:26 +0000
committerbors <bors@rust-lang.org>2023-02-25 13:55:26 +0000
commitdcca6a375bd4eddb3deea7038ebf29d02af53b48 (patch)
treefa5019207b664e5b801581d249454fb57f581433 /compiler/rustc_codegen_gcc
parent26c98689f2060ec834dbe8b8e80b24b31ffd48f2 (diff)
parent08f28f94479d09ae5f7d2cf1d3c018b714751c35 (diff)
downloadrust-dcca6a375bd4eddb3deea7038ebf29d02af53b48.tar.gz
rust-dcca6a375bd4eddb3deea7038ebf29d02af53b48.zip
Auto merge of #108250 - nnethercote:rename-interner-funcs, r=compiler-errors
Rename interner funcs

This PR cleans up some inconsistencies in interner naming.

Best reviewed one commit at a time.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/context.rs b/compiler/rustc_codegen_gcc/src/context.rs
index 4424b31c054..457006319af 100644
--- a/compiler/rustc_codegen_gcc/src/context.rs
+++ b/compiler/rustc_codegen_gcc/src/context.rs
@@ -383,7 +383,7 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
                     tcx,
                     ty::ParamEnv::reveal_all(),
                     def_id,
-                    tcx.intern_substs(&[]),
+                    ty::List::empty(),
                 )
                 .unwrap().unwrap(),
             ),