aboutsummaryrefslogtreecommitdiff
path: root/cli/src/main.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-08 19:14:18 +0100
committerAleksey Kladov <[email protected]>2018-08-08 19:14:18 +0100
commita5dc5f1b5cc7932477225128b2c6c9e8dff9cd73 (patch)
tree5fde33bb0e3887a015e08315ca562d6757a7e8c1 /cli/src/main.rs
parent1fa5b2ffbc0f1dd3cfc45adff0329e1bdd46c131 (diff)
Improve tree building
Diffstat (limited to 'cli/src/main.rs')
-rw-r--r--cli/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/src/main.rs b/cli/src/main.rs
index e5b1aae46..f6c66743f 100644
--- a/cli/src/main.rs
+++ b/cli/src/main.rs
@@ -47,6 +47,7 @@ fn main() -> Result<()> {
47 println!("{}", file.syntax_tree()); 47 println!("{}", file.syntax_tree());
48 } 48 }
49 eprintln!("parsing: {:?}", elapsed); 49 eprintln!("parsing: {:?}", elapsed);
50 ::std::mem::forget(file);
50 } 51 }
51 ("symbols", _) => { 52 ("symbols", _) => {
52 let file = file()?; 53 let file = file()?;