diff --git a/src/parser/recoverable.rs b/src/parser/recoverable.rs index 6407f70..3c2afe2 100644 --- a/src/parser/recoverable.rs +++ b/src/parser/recoverable.rs @@ -235,7 +235,7 @@ impl From> for RecoveryConfig { /// Panics: /// If [`ParseRecoverable`] implementation doesn't save any diagnostic message, /// and return [`None`]. -pub struct Recoverable(T); +pub struct Recoverable(pub T); impl Recoverable { pub fn inner(self) -> T { self.0