Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ices/83907.rs: fixed with errors #719

Merged
merged 1 commit into from Apr 17, 2021
Merged

ices/83907.rs: fixed with errors #719

merged 1 commit into from Apr 17, 2021

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#83907

static STATIC_VAR_FIVE: &One();
=== stdout ===
=== stderr ===
error: free static item without body
 --> /home/runner/work/glacier/glacier/ices/83907.rs:1:1
  |
1 | static STATIC_VAR_FIVE: &One();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
  |                               |
  |                               help: provide a definition for the static: `= <expr>;`

error[E0412]: cannot find type `One` in this scope
 --> /home/runner/work/glacier/glacier/ices/83907.rs:1:26
  |
1 | static STATIC_VAR_FIVE: &One();
  |                          ^^^ not found in this scope

error[E0601]: `main` function not found in crate `83907`
 --> /home/runner/work/glacier/glacier/ices/83907.rs:1:1
  |
1 | static STATIC_VAR_FIVE: &One();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83907.rs`

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0412, E0601.
For more information about an error, try `rustc --explain E0412`.
==============

=== stdout ===
=== stderr ===
error: free static item without body
 --> /home/runner/work/glacier/glacier/ices/83907.rs:1:1
  |
1 | static STATIC_VAR_FIVE: &One();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
  |                               |
  |                               help: provide a definition for the static: `= <expr>;`

error[E0412]: cannot find type `One` in this scope
 --> /home/runner/work/glacier/glacier/ices/83907.rs:1:26
  |
1 | static STATIC_VAR_FIVE: &One();
  |                          ^^^ not found in this scope

error[E0601]: `main` function not found in crate `83907`
 --> /home/runner/work/glacier/glacier/ices/83907.rs:1:1
  |
1 | static STATIC_VAR_FIVE: &One();
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/83907.rs`

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0412, E0601.
For more information about an error, try `rustc --explain E0412`.
==============
@Alexendoo Alexendoo merged commit 4056cde into master Apr 17, 2021
@Alexendoo Alexendoo deleted the autofix/ices/83907.rs branch April 17, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants