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
test.rs:9:2: 9:13 error: duplicate definition of value `foo`
test.rs:9 fn foo() {}
^~~~~~~~~~~
test.rs:6:2: 6:13 note: first definition of value `foo` here
test.rs:6 fn foo() {}
^~~~~~~~~~~
error: aborting due to previous error
Since Foo<A> and Foo<B> are different types, it seems that their impls should not be interfering with each other.
The text was updated successfully, but these errors were encountered:
produces duplicate definition error for
foo
:Since
Foo<A>
andFoo<B>
are different types, it seems that their impls should not be interfering with each other.The text was updated successfully, but these errors were encountered: