Skip to content

Commit 98bb597

Browse files
xizheyinbjorn3
andauthored
Update compiler/rustc_codegen_ssa/src/back/link.rs
Co-authored-by: bjorn3 <[email protected]>
1 parent c59b708 commit 98bb597

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ fn check_link_info_print_request(sess: &Session, crate_type: CrateType) {
7979
.note(format!("consider `--crate-type staticlib` to print linkage information"));
8080
} else if !sess.opts.output_types.should_link() {
8181
sess.dcx().warn(format!(
82-
"skipping link step due to conflict: cannot output linkage information without emitting link"
82+
"cannot output linkage information when --emit link is not passed"
8383
));
8484
}
8585
}

0 commit comments

Comments
 (0)