Skip to content

Commit

Permalink
Rollup merge of rust-lang#83711 - JohnTitor:more-friendly-unknown-tar…
Browse files Browse the repository at this point in the history
…get-error, r=davidtwco

Clarify `--print target-list` is a rustc's option

Fixes rust-lang#68238
  • Loading branch information
Dylan-DPC committed Mar 31, 2021
2 parents 8346973 + 82c6709 commit 3b0d38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_session/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ pub fn build_target_config(opts: &Options, target_override: Option<Target>) -> T
opts.error_format,
&format!(
"Error loading target specification: {}. \
Use `--print target-list` for a list of built-in targets",
Run `rustc --print target-list` for a list of built-in targets",
e
),
)
Expand Down

0 comments on commit 3b0d38b

Please sign in to comment.