Rollup merge of #83711 - JohnTitor:more-friendly-unknown-target-error, r=davidtwco

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

Fixes #68238
This commit is contained in:
Dylan DPC 2021-04-01 02:41:47 +02:00 committed by GitHub
commit 1ef52ac5f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
),
)