Skip to content

Commit cb2fc6d

Browse files
committed
Clippy!
1 parent 9ad0278 commit cb2fc6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-core/src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ file_names.iter().map(|x| x.as_str()).join(", "))]
240240
DependencyResolutionNoSolution {
241241
root_package_name: EcoString,
242242
derivation_tree:
243-
NeverEqual<pubgrub::DerivationTree<String, pubgrub::Ranges<Version>, String>>,
243+
Box<NeverEqual<pubgrub::DerivationTree<String, pubgrub::Ranges<Version>, String>>>,
244244
},
245245

246246
#[error("Dependency resolution failed: {0}")]
@@ -456,7 +456,7 @@ impl Error {
456456
match error {
457457
ResolutionError::NoSolution(derivation_tree) => Self::DependencyResolutionNoSolution {
458458
root_package_name,
459-
derivation_tree: NeverEqual(derivation_tree),
459+
derivation_tree: Box::new(NeverEqual(derivation_tree)),
460460
},
461461

462462
ResolutionError::ErrorRetrievingDependencies {

0 commit comments

Comments
 (0)