Revert "Commiting a bugged version for error reporting to rust"

This reverts commit 9920e93c128fb2aba0464248375a075e0df8e1f8.