From 43eeb8bcc9b70f7921d475dfd2cf927da35e29fe Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Thu, 29 Feb 2024 22:15:16 +0000 Subject: [PATCH] Add inline(never) to Parser::error --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 36b4186..604b14d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1245,6 +1245,8 @@ impl<'a> Parser<'a> { } } + #[cold] + #[inline(never)] fn error>>(&self, msg: M) -> Result { Err(ParseError { line: self.line + 1,