about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-05-13 04:30:14 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-08-06 17:54:39 +0000
commitd8b07718f4a32820d4d3c46a3c82ca0af74cfed3 (patch)
tree4d10194bab43359aebfe3c3a871db9ad3ae71908 /compiler/rustc_trait_selection/src
parentba32673215847a27d4cab381f161a43a59002ee8 (diff)
downloadrust-d8b07718f4a32820d4d3c46a3c82ca0af74cfed3.tar.gz
rust-d8b07718f4a32820d4d3c46a3c82ca0af74cfed3.zip
Add `help` about using `cargo tree`
Diffstat (limited to 'compiler/rustc_trait_selection/src')
-rw-r--r--compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs b/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs
index 03b93f1c139..5a25d9a7ecd 100644
--- a/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs
+++ b/compiler/rustc_trait_selection/src/error_reporting/traits/fulfillment_errors.rs
@@ -1742,6 +1742,7 @@ impl<'a, 'tcx> TypeErrCtxt<'a, 'tcx> {
                     ],
                 );
             }
+            err.help("you can use `cargo tree` to explore your dependency tree");
             return true;
         }