( obj: LeanIxDecompileError<LeanBorrowed<'_>>, )
| 1489 | ctor.set_obj(0, LeanIxSerializeError::build(se)); |
| 1490 | ctor |
| 1491 | }, |
| 1492 | } |
| 1493 | } |
| 1494 | } |
| 1495 | |
| 1496 | impl<R: LeanRef> LeanIxCompileError<R> { |
| 1497 | /// Decode a Lean CompileError to a Rust CompileError. |
| 1498 | pub fn decode(&self) -> CompileError { |
| 1499 | match self.as_ctor().tag() { |