diff options
| author | Kamal Marhubi <kamal@marhubi.com> | 2016-03-01 17:27:19 -0500 |
|---|---|---|
| committer | Kamal Marhubi <kamal@marhubi.com> | 2016-03-02 13:08:21 -0500 |
| commit | 589dabda2f212d8ae231ed6aab2bbf851eaed90c (patch) | |
| tree | 9bba27bfeec92902b66e2419bf682c61e9c296f2 /src/modules.rs | |
| parent | 684596fcddc0ffab45ba8ad0d3d8335af1ff1d2f (diff) | |
deps: Update syntex_syntax to 0.29.1
Diffstat (limited to 'src/modules.rs')
| -rw-r--r-- | src/modules.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.rs b/src/modules.rs index 3f96bea9d44..e56fa57ac7b 100644 --- a/src/modules.rs +++ b/src/modules.rs @@ -40,7 +40,7 @@ fn list_submodules<'a>(module: &'a ast::Mod, result: &mut HashMap<PathBuf, &'a ast::Mod>) { debug!("list_submodules: search_dir: {:?}", search_dir); for item in &module.items { - if let ast::ItemMod(ref sub_mod) = item.node { + if let ast::ItemKind::Mod(ref sub_mod) = item.node { if !utils::contains_skip(&item.attrs) { let is_internal = codemap.span_to_filename(item.span) == codemap.span_to_filename(sub_mod.inner); |
