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

Point to enclosing block/fn on nested unsafe #39202

Merged
merged 1 commit into from
Mar 11, 2017

Commits on Mar 10, 2017

  1. Point to enclosing block/fn on nested unsafe

    When declaring nested unsafe blocks (`unsafe {unsafe {}}`) that trigger
    the "unnecessary `unsafe` block" error, point out the enclosing `unsafe
    block` or `unsafe fn` that makes it unnecessary.
    estebank authored and alexcrichton committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    ac2bc7c View commit details
    Browse the repository at this point in the history