pub struct Node { value T points_to []&Node } fn test_generics_with_recursive_generics_struct() { mid := &Node{ value: 'Middle' } finish := &Node{ value: 'Finish' } graph := &Node{ value: 'Start' points_to: [ &Node{ value: 'TopLeft' points_to: [ finish, mid, ] }, ] } println(graph.points_to[0].value) assert graph.points_to[0].value == 'TopLeft' }