Skip to content

Commit 50398e7

Browse files
Add workaround for compiler ICE
1 parent 85e947f commit 50398e7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ pub mod storage;
181181
pub mod string;
182182
pub mod vec;
183183

184+
// Workaround a compiler ICE in rust 1.83 to 1.86
185+
// https://github.com/rust-lang/rust/issues/138979#issuecomment-2760839948
186+
#[expect(dead_code)]
187+
fn dead_code_ice_workaround() {}
188+
184189
#[cfg(feature = "serde")]
185190
mod de;
186191
#[cfg(feature = "serde")]

0 commit comments

Comments
 (0)