From 9a5db87ecc192814eeaa4a04baed5ca9a01ace34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maja=20K=C4=85dzio=C5=82ka?= Date: Tue, 20 Jan 2026 00:19:07 +0100 Subject: [PATCH] Forward compatibility fix for rustc PR 150681 --- lrlex/src/lib/ctbuilder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lrlex/src/lib/ctbuilder.rs b/lrlex/src/lib/ctbuilder.rs index 63c74066e..81df12c64 100644 --- a/lrlex/src/lib/ctbuilder.rs +++ b/lrlex/src/lib/ctbuilder.rs @@ -47,6 +47,7 @@ static GENERATED_PATHS: LazyLock>> = LazyLock::new(|| Mutex::new(HashSet::new())); #[non_exhaustive] +#[derive(Clone, Copy)] pub enum LexerKind { LRNonStreamingLexer, }