about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorxizheyin <xizheyin@smail.nju.edu.cn>2025-05-02 22:37:33 +0800
committerGitHub <noreply@github.com>2025-05-02 22:37:33 +0800
commit98bb597c05c32365abbd6898f278b097352774ed (patch)
tree1582b5a0bbfca2a15da683160f6fd62305f454a8 /compiler/rustc_codegen_ssa/src
parentc59b70841c36277464b51161e3fcf12dfcb667e0 (diff)
downloadrust-98bb597c05c32365abbd6898f278b097352774ed.tar.gz
rust-98bb597c05c32365abbd6898f278b097352774ed.zip
Update compiler/rustc_codegen_ssa/src/back/link.rs
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/back/link.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs
index ffa888a17d0..28c7b5b2745 100644
--- a/compiler/rustc_codegen_ssa/src/back/link.rs
+++ b/compiler/rustc_codegen_ssa/src/back/link.rs
@@ -79,7 +79,7 @@ fn check_link_info_print_request(sess: &Session, crate_type: CrateType) {
                 .note(format!("consider `--crate-type staticlib` to print linkage information"));
         } else if !sess.opts.output_types.should_link() {
             sess.dcx().warn(format!(
-                    "skipping link step due to conflict: cannot output linkage information without emitting link"
+                    "cannot output linkage information when --emit link is not passed"
                 ));
         }
     }