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

NLL ICE on *const_ptr() #52416

Closed
estebank opened this issue Jul 16, 2018 · 0 comments
Closed

NLL ICE on *const_ptr() #52416

estebank opened this issue Jul 16, 2018 · 0 comments
Assignees
Labels
A-NLL Area: Non Lexical Lifetimes (NLL) I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@estebank
Copy link
Contributor

src/test/compile-fail/issue-20801.rs ICEs using NLL:

error: internal compiler error: Accessing `(*_8)` with the kind `Write(Move)` shouldn't be possible
  --> $DIR/issue-20801.rs:45:22
   |
LL |     let d = unsafe { *const_ptr() };
   |                      ^^^^^^^^^^^^
@estebank estebank added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ A-NLL Area: Non Lexical Lifetimes (NLL) labels Jul 16, 2018
@matthewjasper matthewjasper self-assigned this Jul 16, 2018
@nikomatsakis nikomatsakis added this to the Rust 2018 Preview 2 milestone Jul 17, 2018
@bors bors closed this as completed in 086c2d0 Jul 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-NLL Area: Non Lexical Lifetimes (NLL) I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

4 participants