We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This example used to work:
fn main() { let array = [true, false]; for i in 0..1 { println!("{}", array[i]); } }
Recently you'll get the error: error: the trait``core::ops::Index<i32>``is not implemented for the type``[bool]``[E0277]
error: the trait``core::ops::Index<i32>``is not implemented for the type``[bool]``[E0277]
This example used to work:
Recently you'll get the error:
error: the trait``core::ops::Index<i32>``is not implemented for the type``[bool]``[E0277]