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

ICE regression: "missing expansion backtrace" #41776

Closed
est31 opened this issue May 5, 2017 · 5 comments
Closed

ICE regression: "missing expansion backtrace" #41776

est31 opened this issue May 5, 2017 · 5 comments
Assignees
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@est31
Copy link
Member

est31 commented May 5, 2017

The following code ICE's on nightly and beta, but does not ICE on stable:

include!(line!());

For an example that doesn't give an immediate compile error (but later on bc it can't find the file):

include!(concat!("help-files/", file!()));

The ICE looks like:

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

thread 'rustc' panicked at 'missing expansion backtrace', /checkout/src/libcore/option.rs:794

@est31
Copy link
Member Author

est31 commented May 6, 2017

Last working nightly: rustc 1.17.0-nightly (e1cec5d4b 2017-03-29)
First broken nightly: rustc 1.18.0-nightly (5c94997b6 2017-03-30)
list of commits in between.

@est31
Copy link
Member Author

est31 commented May 6, 2017

cc @jseyfried

@bstrie bstrie added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. I-nominated labels May 6, 2017
@Mark-Simulacrum
Copy link
Member

fe15119 is the commit which broke this, PR #40597.

@nikomatsakis
Copy link
Contributor

triage: P-high

Assigning to @jseyfried, hopefully they have some time to investigate!

@jseyfried
Copy link
Contributor

This is closely related to #40649; fixed in #42006.

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue May 18, 2017
…=nrc

Fix ICE on `include!(line!())` (regression)

Fixes rust-lang#41776.
r? @nrc
frewsxcv added a commit to frewsxcv/rust that referenced this issue May 18, 2017
…=nrc

Fix ICE on `include!(line!())` (regression)

Fixes rust-lang#41776.
r? @nrc
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this issue May 19, 2017
…=nrc

Fix ICE on `include!(line!())` (regression)

Fixes rust-lang#41776.
r? @nrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ P-high High priority regression-from-stable-to-beta Performance or correctness regression from stable to beta. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants