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

Fix #56806 by using delay_span_bug in object safety layout sanity checks #57229

Merged
merged 1 commit into from
Jan 5, 2019

Commits on Jan 4, 2019

  1. use delay_span_bug instead of bug! when doing layout sanity check

    It's possible that `is_object_safe` is called on a trait that is ill-formed, and we shouldn't ICE unless there are no errors being raised. Using `delay_span_bug` solves this.
    
    fixes rust-lang#56806
    mikeyhew committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    2433526 View commit details
    Browse the repository at this point in the history