Fix builds.

This commit is contained in:
Stephen Chung
2022-10-30 16:13:51 +08:00
parent c9184db4d2
commit 8b773aa15e
3 changed files with 31 additions and 8 deletions

View File

@@ -286,6 +286,7 @@ impl GlobalRuntimeState<'_> {
/// Get the current source.
#[inline(always)]
#[must_use]
#[allow(dead_code)]
pub(crate) const fn source_raw(&self) -> Option<&ImmutableString> {
self.source.as_ref()
}