-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
rustc panic when trying to unwrap DistinctSources #63800
Comments
I have managed to get it down to two files: lib.rs: #[macro_use]
mod ext;
struct A;
macro_rules! sss {
() => {
#[test]
fn fff() {
static D: A = A;
aaa!(D);
}
};
}
sss!(); ext.rs macro_rules! aaa {
($c:ident) => {{
let a = $c;
}}
} It doesn't work with a |
This comment has been minimized.
This comment has been minimized.
Seems to be related to 2018 edition? If I use the nightly-2018-10-01 and execute |
Most likely related to the fact that NLL is active in Rust 2018 then. |
Bisecting: Somewhere in d767ee1...b202882 |
Confirmed. |
Also ICE with
|
… r=Centril Don't unwrap the result of `span_to_snippet` Closes rust-lang#63800
When trying to compile the tests for my code I get this error:
`RUST_BACKTRACE=full cargo test`
My understanding is that the compiler was trying to tell me about a borrow checker error; but I have no idea where to start minimizing this error(sorry).
The text was updated successfully, but these errors were encountered: