Open
Description
openedon Nov 11, 2024
Code
#![warn(clippy::all, clippy::pedantic)]
fn main() {
let arr = [1, 2, 3, 4, 5];
for num in arr.iter() {
println!("{} is unique", num);
}
}
Meta
rustc --version --verbose
:
1.82.0
<version>
Error output
error: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
note: rustc 1.82.0 (f6e511e 2024-10-15) running on x86_64-pc-windows-gnu
note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 -C incremental=[REDACTED]
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
Backtrace
<backtrace>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment