Fix builds.

This commit is contained in:
Stephen Chung
2020-11-22 17:32:10 +08:00
parent 07fe132e1a
commit 9edd494000
2 changed files with 3 additions and 1 deletions

View File

@@ -1584,7 +1584,6 @@ impl Module {
/// variables and functions as one flattened namespace.
///
/// If the module is already indexed, this method has no effect.
#[cfg(not(feature = "no_module"))]
pub fn build_index(&mut self) -> &mut Self {
// Collect a particular module.
fn index_module<'a>(