Skip to content

Commit

Permalink
Rollup merge of rust-lang#55692 - matthiaskrgr:remark_debuginfo_hint,…
Browse files Browse the repository at this point in the history
… r=michaelwoerister

-C remark: fix incorrect warning about requiring "--debuginfo" instead of "-C debuginfo=n"

Previously suggested "--debuginfo" does not actually work.
  • Loading branch information
kennytm committed Nov 7, 2018
2 parents 8f93a3c + 84775ed commit 3682d31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc/session/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
}

Expand Down

0 comments on commit 3682d31

Please sign in to comment.