Skip to content

Commit d0c3146

Browse files
authored
Restore verbatim in error message (#3402)
Fixup for #3263 (comment)
1 parent b2f6b92 commit d0c3146

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/uv-resolver/src/pubgrub/dependencies.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ fn to_pubgrub(
228228
return Err(ResolveError::ConflictingUrlsTransitive(
229229
requirement.name.clone(),
230230
expected.verbatim().to_string(),
231-
url.to_string(),
231+
url.verbatim().to_string(),
232232
));
233233
}
234234

@@ -249,7 +249,7 @@ fn to_pubgrub(
249249
return Err(ResolveError::ConflictingUrlsTransitive(
250250
requirement.name.clone(),
251251
expected.verbatim().to_string(),
252-
url.to_string(),
252+
url.verbatim().to_string(),
253253
));
254254
}
255255

@@ -270,7 +270,7 @@ fn to_pubgrub(
270270
return Err(ResolveError::ConflictingUrlsTransitive(
271271
requirement.name.clone(),
272272
expected.verbatim().to_string(),
273-
url.to_string(),
273+
url.verbatim().to_string(),
274274
));
275275
}
276276

0 commit comments

Comments
 (0)