Skip to content

Commit 9c5b613

Browse files
committed
Mark compiler/fallback mismatch as code coldpath
1 parent 6cb41f8 commit 9c5b613

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wrapper.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ impl LexError {
3838
}
3939
}
4040

41+
#[cold]
4142
fn mismatch() -> ! {
4243
panic!("compiler/fallback mismatch")
4344
}

0 commit comments

Comments
 (0)