fn create_table_1() -> tables::Tables {
            let mut tables = tables::Tables::default();
            let root_span = tables.get_root_parent_span();
            let (span1,) = tables.register_spans(
                root_span,
                types::SpanExpansionKind::Root,
                String::from("expansion1"),
                String::from("location1"),
                1,
                1,
            );
            tables.register_spans(
                span1,
                types::SpanExpansionKind::Root,
                String::from("expansion2"),
                String::from("location2"),
                2,
                2,
            );
            tables.register_spans(
                span1,
                types::SpanExpansionKind::MacroDerive,
                String::from("expansion3"),
                String::from("location2"),
                2,
                2,
            );
            assert_eq!(tables.interning_tables.strings.len(), 5);
            assert_eq!(tables.interning_tables.span_file_names.len(), 2);
            assert_eq!(tables.relations.spans.len(), 3);
            assert_eq!(tables.counters.spans, 4);
            tables
        }
// Create and populate tables 1.
Create and populate tables 1.
Create and populate tables 1 .
fn create_table_1() -> tables::Tables {
            let mut tables = tables::Tables::default();
            let root_span = tables.get_root_parent_span();
            let (span1,) = tables.register_spans(
                root_span,
                types::SpanExpansionKind::Root,
                String::from("expansion1"),
                String::from("location1"),
                1,
                1,
            );
            tables.register_spans(
                span1,
                types::SpanExpansionKind::Root,
                String::from("expansion2"),
                String::from("location2"),
                2,
                2,
            );
            tables.register_spans(
                span1,
                types::SpanExpansionKind::MacroDerive,
                String::from("expansion3"),
                String::from("location2"),
                2,
                2,
            );
            assert_eq!(tables.interning_tables.strings.len(), 5);
            assert_eq!(tables.interning_tables.span_file_names.len(), 2);
            assert_eq!(tables.relations.spans.len(), 3);
            assert_eq!(tables.counters.spans, 4);
            tables
        }
fn create_table_1 ( ) -> tables :: Tables { let mut tables = tables :: Tables :: default ( ) ; let root_span = tables . get_root_parent_span ( ) ; let ( span1 , ) = tables . register_spans ( root_span , types :: SpanExpansionKind :: Root , String :: from ( " " ) , String :: from ( " " ) , 1 , 1 , ) ; tables . register_spans ( span1 , types :: SpanExpansionKind :: Root , String :: from ( " " ) , String :: from ( " " ) , 2 , 2 , ) ; tables . register_spans ( span1 , types :: SpanExpansionKind :: MacroDerive , String :: from ( " " ) , String :: from ( " " ) , 2 , 2 , ) ; assert_eq ! ( tables interning_tables strings len ( ) 5 ) ; assert_eq ! ( tables interning_tables span_file_names len ( ) 2 ) ; assert_eq ! ( tables relations spans len ( ) 3 ) ; assert_eq ! ( tables counters spans 4 ) ; tables }
Create and populate tables 1.
Create and populate tables 1 .