Skip to content

Commit 6b7bd27

Browse files
committed
rem: count_unvisited.
1 parent 59eaebe commit 6b7bd27

File tree

3 files changed

+1
-67
lines changed

3 files changed

+1
-67
lines changed

tasks/ast_codegen/src/generators/count_unvisited.rs

-62
This file was deleted.

tasks/ast_codegen/src/generators/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
mod ast;
22
mod ast_kind;
3-
mod count_unvisited;
43
mod impl_get_span;
54

65
/// Inserts a newline in the `TokenStream`.
@@ -41,5 +40,4 @@ pub(crate) use insert;
4140

4241
pub use ast::AstGenerator;
4342
pub use ast_kind::AstKindGenerator;
44-
pub use count_unvisited::CountUnvisited;
4543
pub use impl_get_span::ImplGetSpanGenerator;

tasks/ast_codegen/src/main.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use proc_macro2::TokenStream;
2222
use syn::parse_file;
2323

2424
use defs::TypeDef;
25-
use generators::{AstGenerator, AstKindGenerator, CountUnvisited};
25+
use generators::{AstGenerator, AstKindGenerator};
2626
use linker::{linker, Linker};
2727
use schema::{Inherit, Module, REnum, RStruct, RType, Schema};
2828

@@ -191,7 +191,6 @@ fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
191191
.with(AstGenerator)
192192
.with(AstKindGenerator)
193193
.with(ImplGetSpanGenerator)
194-
// .with(CountUnvisited)
195194
.generate()?;
196195

197196
let output_dir = output_dir()?;
@@ -206,7 +205,6 @@ fn main() -> std::result::Result<(), Box<dyn std::error::Error>> {
206205
span_file.write_all(span_content.as_bytes())?;
207206
}
208207

209-
// println!("{}", outputs[CountUnvisited.name()].clone().as_info());
210208

211209
// NOTE: Print AstKind
212210
// println!(

0 commit comments

Comments
 (0)