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

ices/93835.rs: fixed with errors #1131

Merged
merged 1 commit into from
Feb 12, 2022
Merged

ices/93835.rs: fixed with errors #1131

merged 1 commit into from
Feb 12, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#93835

fn e() {
    p:a<p:p<e=6>>
}
=== stdout ===
=== stderr ===
error: comparison operators cannot be chained
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:8
  |
1 | fn e() {
  |        - while parsing this struct
2 |     p:a<p:p<e=6>>
  |        ^        ^
  |
  = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
  = help: or use `(...)` if you meant to specify fn arguments

error[E0425]: cannot find value `p` in this scope
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:5
  |
2 |     p:a<p:p<e=6>>
  |     ^ not found in this scope
  |
help: you might have meant to write a `struct` literal
  |
1 ~ fn e() { SomeStruct {
2 |     p:a<p:p<e=6>>
3 ~ }}
  |
help: maybe you meant to write a path separator here
  |
2 |     p::a<p:p<e=6>>
  |      ~~
help: maybe you meant to write an assignment here
  |
2 |     let p:a<p:p<e=6>>
  |     ~~~~~

error[E0658]: associated const equality is incomplete
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:13
  |
2 |     p:a<p:p<e=6>>
  |             ^^^
  |
  = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information
  = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable

error[E0658]: associated type bounds are unstable
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:9
  |
2 |     p:a<p:p<e=6>>
  |         ^^^^^^^^
  |
  = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
  = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable

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

error: aborting due to 5 previous errors

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

=== stdout ===
=== stderr ===
error: comparison operators cannot be chained
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:8
  |
1 | fn e() {
  |        - while parsing this struct
2 |     p:a<p:p<e=6>>
  |        ^        ^
  |
  = help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
  = help: or use `(...)` if you meant to specify fn arguments

error[E0425]: cannot find value `p` in this scope
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:5
  |
2 |     p:a<p:p<e=6>>
  |     ^ not found in this scope
  |
help: you might have meant to write a `struct` literal
  |
1 ~ fn e() { SomeStruct {
2 |     p:a<p:p<e=6>>
3 ~ }}
  |
help: maybe you meant to write a path separator here
  |
2 |     p::a<p:p<e=6>>
  |      ~~
help: maybe you meant to write an assignment here
  |
2 |     let p:a<p:p<e=6>>
  |     ~~~~~

error[E0658]: associated const equality is incomplete
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:13
  |
2 |     p:a<p:p<e=6>>
  |             ^^^
  |
  = note: see issue #92827 <rust-lang/rust#92827> for more information
  = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable

error[E0658]: associated type bounds are unstable
 --> /home/runner/work/glacier/glacier/ices/93835.rs:2:9
  |
2 |     p:a<p:p<e=6>>
  |         ^^^^^^^^
  |
  = note: see issue #52662 <rust-lang/rust#52662> for more information
  = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable

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

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0425, E0601, E0658.
For more information about an error, try `rustc --explain E0425`.
==============
@Alexendoo Alexendoo merged commit da7d9eb into master Feb 12, 2022
@Alexendoo Alexendoo deleted the autofix/ices/93835.rs branch February 12, 2022 12:11
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