Skip to content

Commit 829561f

Browse files
committed
Add help about using cargo tree
1 parent 089d447 commit 829561f

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,6 +1742,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
17421742
],
17431743
);
17441744
}
1745+
err.help("you can use `cargo tree` to explore your dependency tree");
17451746
return true;
17461747
}
17471748

tests/ui/crate-loading/multiple-dep-versions.svg

Lines changed: 13 additions & 11 deletions
Loading

0 commit comments

Comments
 (0)