Skip to content
Snippets Groups Projects

improve error messages, rollback ADT registry when encountering a translation error

Merged Lennard Gäher requested to merge ci/better-error-msg into main
3 files
+ 182
144
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -56,3 +56,19 @@ impl EvenInt {
self.add();
}
}
pub struct Foo {}
impl Foo {
#[rr::returns("")]
pub fn a(&mut self) {
assert!(true);
}
#[rr::returns("")]
pub fn b(&mut self) {
assert!(true);
}
}
Loading