]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/consts.rs
Rollup merge of #102466 - lcnr:const-equate-uwu, r=BoxyUwU
[rust.git] / compiler / rustc_codegen_llvm / src / consts.rs
index a559f7f3d57035a58da56542d948fdad98a9274a..ee2fc65e37b832ccc61dfb931362fe106f714296 100644 (file)
@@ -552,7 +552,7 @@ fn codegen_static(&self, def_id: DefId, is_mutable: bool) {
                 // `#[used(compiler)]` is explicitly requested. This is to avoid similar breakage
                 // on other targets, in particular MachO targets have *their* static constructor
                 // lists broken if `llvm.compiler.used` is emitted rather than llvm.used. However,
-                // that check happens when assigning the `CodegenFnAttrFlags` in `rustc_typeck`,
+                // that check happens when assigning the `CodegenFnAttrFlags` in `rustc_hir_analysis`,
                 // so we don't need to take care of it here.
                 self.add_compiler_used_global(g);
             }