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

ices/100183.rs: fixed with errors #1418

Merged
merged 1 commit into from
Sep 14, 2022
Merged

ices/100183.rs: fixed with errors #1418

merged 1 commit into from
Sep 14, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#100183

struct Struct {
    y: (typeof("hey"),),
}

pub fn main() {}
=== stdout ===
=== stderr ===
error[E0516]: `typeof` is a reserved keyword but unimplemented
 --> /home/runner/work/glacier/glacier/ices/100183.rs:2:9
  |
2 |     y: (typeof("hey"),),
  |         ^^^^^^^^^^^^^ reserved keyword
  |
help: consider replacing `typeof(...)` with an actual type
  |
2 |     y: (&'static str,),
  |         ~~~~~~~~~~~~

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error[E0516]: `typeof` is a reserved keyword but unimplemented
 --> /home/runner/work/glacier/glacier/ices/100183.rs:2:9
  |
2 |     y: (typeof("hey"),),
  |         ^^^^^^^^^^^^^ reserved keyword
  |
help: consider replacing `typeof(...)` with an actual type
  |
2 |     y: (&'static str,),
  |         ~~~~~~~~~~~~

error: aborting due to previous error

For more information about this error, try `rustc --explain E0516`.
==============
@JohnTitor JohnTitor merged commit aab896a into master Sep 14, 2022
@JohnTitor JohnTitor deleted the autofix/ices/100183.rs branch September 14, 2022 08:21
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