Skip to content

Commit f11d9a1

Browse files
committed
Improve error msg for get target runner
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent ce40690 commit f11d9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/compilation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ fn target_runner(
409409
let matching_runner = cfgs.next();
410410
if let Some((key, runner)) = cfgs.next() {
411411
anyhow::bail!(
412-
"several matching instances of `target.'cfg(..)'.runner` in `.cargo/config`\n\
412+
"several matching instances of `target.'cfg(..)'.runner` in configurations\n\
413413
first match `{}` located in {}\n\
414414
second match `{}` located in {}",
415415
matching_runner.unwrap().0,

0 commit comments

Comments
 (0)