Fix builds.
This commit is contained in:
parent
07fe132e1a
commit
9edd494000
@ -140,9 +140,12 @@ fn main() {
|
|||||||
.gen_fn_signatures(false)
|
.gen_fn_signatures(false)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.for_each(|f| println!("{}", f));
|
.for_each(|f| println!("{}", f));
|
||||||
|
|
||||||
|
#[cfg(not(feature = "no_functions"))]
|
||||||
main_ast
|
main_ast
|
||||||
.iter_functions()
|
.iter_functions()
|
||||||
.for_each(|(_, _, _, _, f)| println!("{}", f));
|
.for_each(|(_, _, _, _, f)| println!("{}", f));
|
||||||
|
|
||||||
println!();
|
println!();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1584,7 +1584,6 @@ impl Module {
|
|||||||
/// variables and functions as one flattened namespace.
|
/// variables and functions as one flattened namespace.
|
||||||
///
|
///
|
||||||
/// If the module is already indexed, this method has no effect.
|
/// If the module is already indexed, this method has no effect.
|
||||||
#[cfg(not(feature = "no_module"))]
|
|
||||||
pub fn build_index(&mut self) -> &mut Self {
|
pub fn build_index(&mut self) -> &mut Self {
|
||||||
// Collect a particular module.
|
// Collect a particular module.
|
||||||
fn index_module<'a>(
|
fn index_module<'a>(
|
||||||
|
Loading…
Reference in New Issue
Block a user