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

ices/94432.rs: fixed with errors #1322

Merged
merged 1 commit into from
Jun 29, 2022
Merged

ices/94432.rs: fixed with errors #1322

merged 1 commit into from
Jun 29, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#94432

fna<e>(){fnp(){e}}
=== stdout ===
=== stderr ===
error: unknown start of token: \u{fffd}
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:3
  |
1 | fn�a<e>(){fn�p(){e}}
  |   ^

error: unknown start of token: \u{fffd}
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:13
  |
1 | fn�a<e>(){fn�p(){e}}
  |             ^

error[E0401]: can't use generic parameters from outer function
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:18
  |
1 | fn�a<e>(){fn�p(){e}}
  |      -           ^ use of generic parameter from outer function
  |      |
  |      type parameter from outer function
  |
  = help: try using a local generic parameter instead

warning: type parameter `e` should have an upper camel case name
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:6
  |
1 | fn�a<e>(){fn�p(){e}}
  |      ^ help: convert the identifier to upper camel case: `E`
  |
  = note: `#[warn(non_camel_case_types)]` on by default

error[E0601]: `main` function not found in crate `94432`
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:21
  |
1 | fn�a<e>(){fn�p(){e}}
  |                     ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/94432.rs`

error: aborting due to 4 previous errors; 1 warning emitted

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

=== stdout ===
=== stderr ===
error: unknown start of token: \u{fffd}
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:3
  |
1 | fn�a<e>(){fn�p(){e}}
  |   ^

error: unknown start of token: \u{fffd}
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:13
  |
1 | fn�a<e>(){fn�p(){e}}
  |             ^

error[E0401]: can't use generic parameters from outer function
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:18
  |
1 | fn�a<e>(){fn�p(){e}}
  |      -           ^ use of generic parameter from outer function
  |      |
  |      type parameter from outer function
  |
  = help: try using a local generic parameter instead

warning: type parameter `e` should have an upper camel case name
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:6
  |
1 | fn�a<e>(){fn�p(){e}}
  |      ^ help: convert the identifier to upper camel case: `E`
  |
  = note: `#[warn(non_camel_case_types)]` on by default

error[E0601]: `main` function not found in crate `94432`
 --> /home/runner/work/glacier/glacier/ices/94432.rs:1:21
  |
1 | fn�a<e>(){fn�p(){e}}
  |                     ^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/94432.rs`

error: aborting due to 4 previous errors; 1 warning emitted

Some errors have detailed explanations: E0401, E0601.
For more information about an error, try `rustc --explain E0401`.
==============
@Alexendoo Alexendoo merged commit f2448af into master Jun 29, 2022
@Alexendoo Alexendoo deleted the autofix/ices/94432.rs branch June 29, 2022 12:22
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