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

Commit

Permalink
ices/81806.rs: fixed with errors (#650)
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error: this file contains an unclosed delimiter
 --> /home/runner/work/glacier/glacier/ices/81806.rs:2:6
  |
1 | trait t { const
  |         - unclosed delimiter
2 | impl
  |      ^

error: expected identifier, found keyword `impl`
 --> /home/runner/work/glacier/glacier/ices/81806.rs:2:1
  |
1 | trait t { const
  |         - while parsing this item list starting here
2 | impl
  | ^^^^ - the item list ends here
  | |
  | expected identifier, found keyword
  |
help: you can escape reserved keywords to use them as identifiers
  |
2 | r#impl
  |

warning: trait `t` should have an upper camel case name
 --> /home/runner/work/glacier/glacier/ices/81806.rs:1:7
  |
1 | trait t { const
  |       ^ help: convert the identifier to upper camel case: `T`
  |
  = note: `#[warn(non_camel_case_types)]` on by default

error[E0601]: `main` function not found in crate `81806`
 --> /home/runner/work/glacier/glacier/ices/81806.rs:1:1
  |
1 | / trait t { const
2 | | impl
  | |_____^ consider adding a `main` function to `/home/runner/work/glacier/glacier/ices/81806.rs`

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

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

Co-authored-by: rustbot <rustbot@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and rustbot authored Feb 10, 2021
1 parent 3f3ce6f commit 09ae0fd
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 09ae0fd

Please sign in to comment.