Compute resolver hints using the final reduced derivation tree (#7546)

This switches the no-solution formatter to use the final derivation tree
(simplified and reduced) when generating hints.
This commit is contained in:
Luca Bruno 2024-09-19 16:06:55 +02:00 committed by GitHub
parent df90cc6f95
commit 248bef13bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,7 +251,7 @@ impl std::fmt::Display for NoSolutionError {
// Include any additional hints.
let mut additional_hints = IndexSet::default();
formatter.generate_hints(
&self.error,
&tree,
&self.selector,
&self.index_locations,
&self.unavailable_packages,