No way to call inherent method on dyn Trait
when a function of the same name exists in the trait
#109077
Labels
C-bug
Category: This is a bug.
Given:
There seems to be no way to call
foo
implemented ondyn Foo + 'a
:Gives the expected error:
The compiler suggests a way to call candidate #2, but even with
The error persists, with no seeming way to call candidate #1.
Meta
Version:
The text was updated successfully, but these errors were encountered: