From 13193f12399953080da9d3b2853328dff142be77 Mon Sep 17 00:00:00 2001 From: Rain Date: Sat, 21 Dec 2024 02:22:33 +0000 Subject: [PATCH] [spr] changes introduced through rebase Created using spr 1.3.6-beta.1 [skip ci] --- package/src/dot.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/package/src/dot.rs b/package/src/dot.rs index 8a3d3bb4a6..875c626702 100644 --- a/package/src/dot.rs +++ b/package/src/dot.rs @@ -173,9 +173,10 @@ pub fn do_dot( let dep_node = pkg_for_output.get(dependency).ok_or_else(|| { anyhow!( - "package {:?} has dependency on {:?}, which does \ - not correspond to the output of any package", - pkgname, dependency) + "package \"{}\" has dependency on {:?}, which does \ + not correspond to the output of any package", + pkgname, dependency, + ) })?; graph.add_edge(*pkg_node, **dep_node, "merge"); }