Open roypat opened 1 year ago
Thanks for reporting this issue @roypat. I believe this is a duplicate of #1997. Let me know if the original issue covers your use case, and we can close this one. Thanks!
That said, I wonder if we should just split #1997 into two issues. We can use #1997 to track disambiguation using the qualified path type and use this issue to track stubbing trait methods without ambiguous definition. @feliperodri any thoughts?
Thanks for reporting this issue @roypat. I believe this is a duplicate of #1997. Let me know if the original issue covers your use case, and we can close this one. Thanks!
Ahhh, right, yes #1997 does indeed look like a general case of this. Sorry about that! Feel free to close as duplicate :)
BTW, @feliperodri I wonder if we can at least improve the error message now. We could add a note saying that trait methods are not supported.
I tried this code:
using the following command line invocation:
with Kani version: 0.29.0
I expected to see this happen: Verification to pass, with the implementation of the
foo
trait method forBar
being stubbed out.Instead, this happened: