minor: Downgrade cyclic deps error to warning

This commit is contained in:
Lukas Wirth 2024-09-01 10:02:41 +02:00
parent 8d1d5cdfc1
commit 2e2f798a74
2 changed files with 8 additions and 48 deletions

View file

@ -1554,6 +1554,6 @@ fn add_proc_macro_dep(crate_graph: &mut CrateGraph, from: CrateId, to: CrateId,
fn add_dep_inner(graph: &mut CrateGraph, from: CrateId, dep: Dependency) {
if let Err(err) = graph.add_dep(from, dep) {
tracing::error!("{}", err)
tracing::warn!("{}", err)
}
}