@@ -70,7 +70,7 @@ impl From<(PackageId, ConflictReason)> for ActivateError {
7070}
7171
7272pub ( super ) fn activation_error (
73- resolver_gctx : & ResolverContext ,
73+ resolver_ctx : & ResolverContext ,
7474 registry : & mut dyn Registry ,
7575 parent : & Summary ,
7676 dep : & Dependency ,
@@ -81,7 +81,7 @@ pub(super) fn activation_error(
8181 let to_resolve_err = |err| {
8282 ResolveError :: new (
8383 err,
84- resolver_gctx
84+ resolver_ctx
8585 . parents
8686 . path_to_bottom ( & parent. package_id ( ) )
8787 . into_iter ( )
@@ -95,7 +95,7 @@ pub(super) fn activation_error(
9595 let mut msg = format ! ( "failed to select a version for `{}`." , dep. package_name( ) ) ;
9696 msg. push_str ( "\n ... required by " ) ;
9797 msg. push_str ( & describe_path_in_context (
98- resolver_gctx ,
98+ resolver_ctx ,
9999 & parent. package_id ( ) ,
100100 ) ) ;
101101
@@ -141,7 +141,7 @@ pub(super) fn activation_error(
141141 msg. push_str ( "`, but it conflicts with a previous package which links to `" ) ;
142142 msg. push_str ( link) ;
143143 msg. push_str ( "` as well:\n " ) ;
144- msg. push_str ( & describe_path_in_context ( resolver_gctx , p) ) ;
144+ msg. push_str ( & describe_path_in_context ( resolver_ctx , p) ) ;
145145 msg. push_str ( "\n Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. " ) ;
146146 msg. push_str ( "Try to adjust your dependencies so that only one package uses the `links = \" " ) ;
147147 msg. push_str ( link) ;
@@ -210,7 +210,7 @@ pub(super) fn activation_error(
210210 for ( p, r) in & conflicting_activations {
211211 if let ConflictReason :: Semver = r {
212212 msg. push_str ( "\n \n previously selected " ) ;
213- msg. push_str ( & describe_path_in_context ( resolver_gctx , p) ) ;
213+ msg. push_str ( & describe_path_in_context ( resolver_ctx , p) ) ;
214214 }
215215 }
216216 }
@@ -279,7 +279,7 @@ pub(super) fn activation_error(
279279 ) ;
280280 msg. push_str ( "required by " ) ;
281281 msg. push_str ( & describe_path_in_context (
282- resolver_gctx ,
282+ resolver_ctx ,
283283 & parent. package_id ( ) ,
284284 ) ) ;
285285
@@ -364,7 +364,7 @@ pub(super) fn activation_error(
364364 msg. push_str ( & format ! ( "location searched: {}\n " , dep. source_id( ) ) ) ;
365365 msg. push_str ( "required by " ) ;
366366 msg. push_str ( & describe_path_in_context (
367- resolver_gctx ,
367+ resolver_ctx ,
368368 & parent. package_id ( ) ,
369369 ) ) ;
370370
0 commit comments