File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -861,30 +861,6 @@ mod tests {
861861 ) ;
862862 }
863863
864- #[ test]
865- #[ ignore]
866- fn inner_items_from_parent_module ( ) {
867- // FIXME: ItemTree currently associates all inner items with `main`. Luckily, this sort of
868- // code is very rare, so this isn't terrible.
869- // To fix it, we should probably build dedicated `ItemTree`s for inner items, and not store
870- // them in the file's main ItemTree. This would also allow us to stop parsing function
871- // bodies when we only want to compute the crate's main DefMap.
872- check_found_path (
873- r#"
874- fn main() {
875- struct Struct {}
876- mod module {
877- $0
878- }
879- }
880- "# ,
881- "super::Struct" ,
882- "super::Struct" ,
883- "super::Struct" ,
884- "super::Struct" ,
885- ) ;
886- }
887-
888864 #[ test]
889865 fn outer_items_with_inner_items_present ( ) {
890866 check_found_path (
You can’t perform that action at this time.
0 commit comments