Program Rust
ParseFloatError
This Rust is the input prepared for Aeneas. Modeling choices explains the adaptations from the production source.
10 // Removing only the formatting implementation leaves the error shape and11 // all parser operations/derives unchanged, independently of GOAL truth.12 #[derive(Clone, PartialEq, Eq)]13 pub struct ParseFloatError {14 pub(super) kind: FloatErrorKind,15 }16 17 #[derive(Clone, PartialEq, Eq)]18 pub(super) enum FloatErrorKind {Aeneas declaration
The Lean below was mechanically extracted by Aeneas from Rust.
structure num.float_parse.ParseFloatError where
kind : num.float_parse.FloatErrorKindOperations used here
Source details
| Declaration | num.float_parse.ParseFloatError |
|---|---|
| File | num/mod.rs |
| Lines | 13:4–15:5 |
| Program version | Original program |