Skip to content

Commit 0c6dfbc

Browse files
committed
impl: fix compilation error when perf-literal is disabled
It's unclear to me why CI did not catch this. CI explicitly tests building regex without the perf-literal feature enabled.
1 parent 9f9f693 commit 0c6dfbc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.5.1 (2021-04-30)
2+
==================
3+
This is a patch release that fixes a compilation error when the `perf-literal`
4+
feature is not enabled.
5+
6+
17
1.5.0 (2021-04-30)
28
==================
39
This release primarily updates to Rust 2018 (finally) and bumps the MSRV to

src/literal/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod imp;
66
#[allow(missing_docs)]
77
#[cfg(not(feature = "perf-literal"))]
88
mod imp {
9-
use syntax::hir::literal::Literals;
9+
use regex_syntax::hir::literal::Literals;
1010

1111
#[derive(Clone, Debug)]
1212
pub struct LiteralSearcher(());

0 commit comments

Comments
 (0)