-C remark: fix incorrect warning about requiring "--debuginfo" instead of "-C debuginfo=n"
This commit is contained in:
parent
56ac2c4fc3
commit
84775edcc2
@ -2202,8 +2202,7 @@ pub fn build_session_options_and_crate_config(
|
||||
if !cg.remark.is_empty() && debuginfo == DebugInfo::None {
|
||||
early_warn(
|
||||
error_format,
|
||||
"-C remark will not show source locations without \
|
||||
--debuginfo",
|
||||
"-C remark requires \"-C debuginfo=n\" to show source locations",
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user