Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/87771.rs: fixed with errors #987

Merged
merged 1 commit into from
Oct 5, 2021
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 5, 2021

Issue: rust-lang/rust#87771

fn main() {
    let mut arr = vec![vec![]];
    arr[0][0] = arr[0][0] = true;
}
=== stdout ===
=== stderr ===
error[E0308]: mismatched types
 --> /home/runner/work/glacier/glacier/ices/87771.rs:3:17
  |
3 |     arr[0][0] = arr[0][0] = true;
  |                 ^^^^^^^^^^^^^^^^ expected `bool`, found `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
==============

=== stdout ===
=== stderr ===
error[E0308]: mismatched types
 --> /home/runner/work/glacier/glacier/ices/87771.rs:3:17
  |
3 |     arr[0][0] = arr[0][0] = true;
  |                 ^^^^^^^^^^^^^^^^ expected `bool`, found `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
==============
@Alexendoo Alexendoo merged commit be2de2e into master Oct 5, 2021
@Alexendoo Alexendoo deleted the autofix/ices/87771.rs branch October 5, 2021 12:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants