Skip to content

fmt!'s pretty printer dies on vectors of unit struct #7625

Closed
@emberian

Description

@emberian
fn main() {
    struct Foo;
    let x = ~[Foo, Foo, Foo];
    println(fmt!("%?", x));
    // hangs, gobbles up memory
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions