Skip to content

fail!() requires formatting in libcore #16700

@bluss

Description

@bluss

libcore's failure hooks require its users to use formatting. libcore users like all the instances of fail!() or assert!() with a simple message would generate less code if there was a format-less code path.

This already exists in the libstd fail!().

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions