Skip to content

into_string() doesn't check malloc return value. #19305

Closed
@KokaKiwi

Description

@KokaKiwi

When doing a simple line like "toto".into_string(), the generated code doesn't have any malloc return value check (which is done with boxxed values).

Issue code here: https://gist.github.com/KokaKiwi/b33f7526185f823fc99a (My Rust version is in the Gist)

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