-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
LLVM assertion failed: "Invalid GetElementPtrInst indices for type!" #7153
Comments
I'm hitting this same assertion with eac0200 (6/15/2013) and the following program: trait Printable {
fn print(&self);
}
fn test(o: &[~Printable]) {
for o.each |&p| {
p.print();
}
}
fn main() {
} |
Fixed by #7214. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Aug 12, 2021
Add xor case to `manual swap` lint Continue of rust-lang#7153 closes rust-lang#6598 changelog: Add "xor swap" case to [`manual_swap`]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
rustc fails to compile this program:
with
The text was updated successfully, but these errors were encountered: