Skip to content

Change unwinding line arguments from usize to u32 #24208

Closed
@rprichard

Description

@rprichard

The file_line arguments to std::rt::unwind::begin_unwind and std::rt::unwind::begin_unwind_fmt takes a &(&str, usize). We changed line! to u32, so we should also update these two functions to also take a u32.

I had noticed this a while ago, but had been putting off fixing them, because it didn't seem time-sensitive. However, I realized today that these functions are stable, so it's technically a breaking-change.

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