Panic on empty trait impl #833
Labels
bug
Something isn't working
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
The script below should not compile but with an error complaining that the function
f
is not implemented forS
.Instead, the compiler panics with:
We do emit the correct error when the trait has multiple functions and only emit a subset of them in the
impl
block. The above seems to only be a problem when theimpl
block is empty.The text was updated successfully, but these errors were encountered: