Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upNLL ICE: unexpected region for local data ReFree #50467
Comments
sanxiyn
added
the
A-NLL
label
May 6, 2018
This comment has been minimized.
This comment has been minimized.
|
triage: it would be good to reduce this down to a standalone example. (In part, that may help us identify if this is a duplicate bug or not.) Assigning to self to do reduction. |
pnkfelix
self-assigned this
May 8, 2018
pnkfelix
added
WG-compiler-nll
I-ICE
labels
May 8, 2018
pnkfelix
added
the
NLL-sound
label
May 29, 2018
nikomatsakis
added
the
I-nominated
label
Jul 3, 2018
nikomatsakis
added this to the Rust 2018 Preview 2 milestone
Jul 3, 2018
This comment has been minimized.
This comment has been minimized.
|
I'm "nominating" this issue as something to fix for Edition Preview 2 -- specifically, we should first try and reduce it to a standalone example. I would do this by checking out the project above and then removing the |
nikomatsakis
added
the
E-mentor
label
Jul 3, 2018
This comment has been minimized.
This comment has been minimized.
|
I will attempt to reduce the problem, we'll see if I can go any further than that! |
nikomatsakis
assigned
shepmaster
and unassigned
pnkfelix
Jul 3, 2018
This comment has been minimized.
This comment has been minimized.
|
With
|
This comment has been minimized.
This comment has been minimized.
|
I see the same behavior with |
This comment has been minimized.
This comment has been minimized.
|
OK, I'm going to close this issue for now then. |
nikomatsakis
closed this
Jul 3, 2018
This comment has been minimized.
This comment has been minimized.
|
The ICE might have been fixed in the meantime; I reported this some time ago. Note that the specific branch is probably not compilable. I just took a snapshot as I saw the ICE. |
simonvandel commentedMay 5, 2018
The code in https://github.com/simonvandel/fcbf/tree/nll-ice produces the following ICE:
When compiled with:
NLL is enabled in the top of main.rs with
#![feature(nll)]. Without NLL, a normal borrow check error is presented.Meta
rustc --version --verbose:rustc 1.27.0-nightly (91db9dc 2018-05-04)
binary: rustc
commit-hash: 91db9dc
commit-date: 2018-05-04
host: x86_64-unknown-linux-gnu
release: 1.27.0-nightly
LLVM version: 6.0