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

ices/62767.rs: fixed with errors #317

Merged
merged 1 commit into from
Mar 24, 2020
Merged

ices/62767.rs: fixed with errors #317

merged 1 commit into from
Mar 24, 2020

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#62767

mod foo {
    pub enum Foo {
        Foo(i32),
    }
}
use foo::*;
use Foo::Foo;
=== stdout ===
=== stderr ===
warning: unused import: `Foo::Foo`
 --> /home/runner/work/glacier/glacier/ices/62767.rs:7:5
  |
7 | use Foo::Foo;
  |     ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0601]: `main` function not found in crate `62767`
 --> /home/runner/work/glacier/glacier/ices/62767.rs:1:1
  |
1 | / mod foo {
2 | |     pub enum Foo {
3 | |         Foo(i32),
4 | |     }
5 | | }
6 | | use foo::*;
7 | | use Foo::Foo;
  | |_____________^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/62767.rs`

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
warning: unused import: `Foo::Foo`
 --> /home/runner/work/glacier/glacier/ices/62767.rs:7:5
  |
7 | use Foo::Foo;
  |     ^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

error[E0601]: `main` function not found in crate `62767`
 --> /home/runner/work/glacier/glacier/ices/62767.rs:1:1
  |
1 | / mod foo {
2 | |     pub enum Foo {
3 | |         Foo(i32),
4 | |     }
5 | | }
6 | | use foo::*;
7 | | use Foo::Foo;
  | |_____________^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/62767.rs`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0601`.
==============
@Alexendoo Alexendoo merged commit bcc0736 into master Mar 24, 2020
@Alexendoo Alexendoo deleted the autofix/ices/62767.rs branch March 24, 2020 12:15
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