diff --git a/boa_engine/src/symbol.rs b/boa_engine/src/symbol.rs index c7e33f9b44..d6a6b6c180 100644 --- a/boa_engine/src/symbol.rs +++ b/boa_engine/src/symbol.rs @@ -151,7 +151,7 @@ unsafe impl Trace for JsSymbol { macro_rules! well_known_symbols { ( $( $(#[$attr:meta])* ($name:ident, $variant:path) ),+$(,)? ) => { $( - $(#[$attr])* pub(crate) const fn $name() -> JsSymbol { + $(#[$attr])* pub const fn $name() -> JsSymbol { JsSymbol { // the cast shouldn't matter since we only have 127 const symbols repr: Tagged::from_tag($variant.hash() as usize),