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

effect checking should really be using `expr_ty_adjusted` #28776

Closed
arielb1 opened this Issue Sep 30, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@arielb1
Copy link
Contributor

arielb1 commented Sep 30, 2015

Reproduced on: rustc 1.5.0-nightly (6108e8c3e 2015-09-28)

unsafe fn blow_up() {
    *(0xcccccccc as *mut u8) = 0;
}

fn main() {
    (&blow_up)();
}

arielb1 pushed a commit to arielb1/rust that referenced this issue Oct 1, 2015

bors added a commit that referenced this issue Oct 2, 2015

@bors bors closed this in #28790 Oct 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.