]> git.proxmox.com Git - cargo.git/commit - tests/testsuite/doc.rs
Auto merge of #10103 - ehuss:tree-cycle, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 22 Nov 2021 16:18:31 +0000 (16:18 +0000)
committerbors <bors@rust-lang.org>
Mon, 22 Nov 2021 16:18:31 +0000 (16:18 +0000)
commita2c6ec7522e907789cd2bbc1a1a104b53dd501b2
treece12dba7b5901da7c6b10bcbb934421729df27e1
parentdf8cda0a12108a4b2959af6b1cae2ced47bb0b64
parent2eee644c68010d1c84d1c945c428868ea8097acb
Auto merge of #10103 - ehuss:tree-cycle, r=alexcrichton

Fix a couple issues with cyclic features and dev-dependencies

This fixes two issues with cyclic features and dev-dependencies:

* `cargo tree` would enter an infinite loop for cyclic features.
* The resolver would return a confusing error if a cyclic dev-dependency attempted to enable a feature on its parent that resulted in a cycle.  This fixes it to resolve correctly.

Fixes #10101