Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #[track_caller] to more panicking Cell functions #77055

Merged
merged 1 commit into from
Sep 24, 2020

Commits on Sep 22, 2020

  1. Add #[track_caller] to more panicking Cell functions

    Continuation of rust-lang#74526
    
    Adds the #[track_caller] attribute to almost all panicking Cell
    functions. The ones that borrow two Cells in their function
    body are spared, because the panic location helps pinpoint
    which of the two borrows failed. You'd need to have
    full debuginfo and backtraces enabled together with column
    info in order to be able to discern the cases.
    Column info is only available on non-Windows platforms.
    est31 committed Sep 22, 2020
    Configuration menu
    Copy the full SHA
    05c3a2b View commit details
    Browse the repository at this point in the history