Skip to content

Commit 4ed212b

Browse files
committed
Sayonara println
1 parent b17fd7e commit 4ed212b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/modules.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -359,23 +359,20 @@ impl<'ast, 'sess, 'c> ModResolver<'ast, 'sess> {
359359
.is_some()
360360
{
361361
// If the specfied file is already parsed, then we just use that.
362-
println!("{:?} already parsed", actual_path);
363362
result.push((
364363
actual_path,
365364
DirectoryOwnership::Owned { relative: None },
366365
sub_mod.clone(),
367366
));
368367
continue;
369368
}
370-
println!("Trying to parse {:?}", actual_path);
371369
let mut parser = new_sub_parser_from_file(
372370
self.parse_sess,
373371
&actual_path,
374372
self.directory.ownership,
375373
None,
376374
DUMMY_SP,
377375
);
378-
println!("Created a parser");
379376
parser.cfg_mods = false;
380377
let lo = parser.span;
381378
let mod_attrs = match parse_inner_attributes(&mut parser) {
@@ -386,7 +383,6 @@ impl<'ast, 'sess, 'c> ModResolver<'ast, 'sess> {
386383
continue;
387384
}
388385
};
389-
println!("Parsed mod_attrs: {:?}", mod_attrs);
390386
let m = match parse_mod_items(&mut parser, lo) {
391387
Ok(m) => m,
392388
Err(mut e) => {
@@ -395,7 +391,6 @@ impl<'ast, 'sess, 'c> ModResolver<'ast, 'sess> {
395391
continue;
396392
}
397393
};
398-
println!("path: {:?}, m: {:?}", path, m.inner);
399394
result.push((
400395
actual_path,
401396
DirectoryOwnership::Owned { relative: None },

0 commit comments

Comments
 (0)