You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project A has a Foo trait and project B has a Bar trait. Foo has the Bar bound associated with it (Foo: Bar), therefore, project A depends on project B ([dependencies] b = { path = "../b" }). Now, project B depends on project A as a development dependency ([dev-dependencies] a = { path = "../a" }) and the following code:
Triggers an erroneous message of this cyclic dependency: the trait 'a::Foo' is not implemented for 'tests::Something'.
Not sure if cyclic dependencies are allowed with development crates but the showed message in this case is obviously wrong.
Notes
Output of cargo version: cargo 1.40.0-nightly (a429e8c 2019-10-04)
The text was updated successfully, but these errors were encountered:
Scenario
Project
A
has aFoo
trait and projectB
has aBar
trait.Foo
has theBar
bound associated with it (Foo: Bar
), therefore, projectA
depends on projectB
([dependencies] b = { path = "../b" }
). Now, projectB
depends on projectA
as a development dependency ([dev-dependencies] a = { path = "../a" }
) and the following code:Triggers an erroneous message of this cyclic dependency:
the trait 'a::Foo' is not implemented for 'tests::Something'
.Not sure if cyclic dependencies are allowed with development crates but the showed message in this case is obviously wrong.
Notes
Output of
cargo version
: cargo 1.40.0-nightly (a429e8c 2019-10-04)The text was updated successfully, but these errors were encountered: