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

ices/91434.rs: fixed with errors #1062

Merged
merged 1 commit into from
Dec 20, 2021
Merged

ices/91434.rs: fixed with errors #1062

merged 1 commit into from
Dec 20, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#91434

fn main() {
    [9; [[9E; h]]];
}
=== stdout ===
=== stderr ===
error: expected at least one digit in exponent
 --> /home/runner/work/glacier/glacier/ices/91434.rs:2:11
  |
2 |     [9; [[9E; h]]];
  |           ^^

error[E0425]: cannot find value `h` in this scope
 --> /home/runner/work/glacier/glacier/ices/91434.rs:2:15
  |
2 |     [9; [[9E; h]]];
  |               ^ not found in this scope

error: constant expression depends on a generic parameter
 --> /home/runner/work/glacier/glacier/ices/91434.rs:2:9
  |
2 |     [9; [[9E; h]]];
  |         ^^^^^^^^^
  |
  = note: this may fail depending on what value the parameter takes

error: aborting due to 3 previous errors

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

=== stdout ===
=== stderr ===
error: expected at least one digit in exponent
 --> /home/runner/work/glacier/glacier/ices/91434.rs:2:11
  |
2 |     [9; [[9E; h]]];
  |           ^^

error[E0425]: cannot find value `h` in this scope
 --> /home/runner/work/glacier/glacier/ices/91434.rs:2:15
  |
2 |     [9; [[9E; h]]];
  |               ^ not found in this scope

error: constant expression depends on a generic parameter
 --> /home/runner/work/glacier/glacier/ices/91434.rs:2:9
  |
2 |     [9; [[9E; h]]];
  |         ^^^^^^^^^
  |
  = note: this may fail depending on what value the parameter takes

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0425`.
==============
@JohnTitor JohnTitor merged commit f8aff00 into master Dec 20, 2021
@JohnTitor JohnTitor deleted the autofix/ices/91434.rs branch December 20, 2021 12:52
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