Closed
Description
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