Skip to content

Commit

Permalink
-C remark: fix incorrect warning about requiring "--debuginfo" instea…
Browse files Browse the repository at this point in the history
…d of "-C debuginfo=n"
  • Loading branch information
matthiaskrgr committed Nov 5, 2018
1 parent 56ac2c4 commit 84775ed
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 84775ed

Please sign in to comment.