diff --git a/naga/src/back/mod.rs b/naga/src/back/mod.rs index 490c9b19b..dd9c7bd93 100644 --- a/naga/src/back/mod.rs +++ b/naga/src/back/mod.rs @@ -70,7 +70,7 @@ pub type PipelineConstants = hashbrown::HashMap; pub struct Level(pub usize); impl Level { - const fn next(&self) -> Self { + pub const fn next(&self) -> Self { Level(self.0 + 1) } }