--- a/rust/hg-cpython/src/exceptions.rs Tue Jul 09 14:53:34 2019 +0200 +++ b/rust/hg-cpython/src/exceptions.rs Tue Jul 09 15:15:54 2019 +0200 @@ -67,3 +67,5 @@ } } } + +py_exception!(shared_ref, AlreadyBorrowed, RuntimeError);