We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc5f530 commit c2fd499Copy full SHA for c2fd499
src/bin/cargo/commands/tree.rs
@@ -271,12 +271,12 @@ fn parse_edge_kinds(
271
"no-build" => result.remove(&EdgeKind::Dep(DepKind::Build)),
272
"no-dev" => result.remove(&EdgeKind::Dep(DepKind::Development)),
273
"features" => result.insert(EdgeKind::Feature),
274
- k @ "normal" | k @ "build" | k @ "dev" | k @ "all" => {
+ "normal" | "build" | "dev" | "all" => {
275
bail!(
276
"`{}` dependency kind cannot be mixed with \
277
\"no-normal\", \"no-build\", or \"no-dev\" \
278
dependency kinds",
279
- k
+ kind
280
)
281
}
282
k => return unknown(k),
0 commit comments