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

Commit

Permalink
ices/80678.rs: fixed with errors
Browse files Browse the repository at this point in the history
=== stdout ===
=== stderr ===
error[E0425]: cannot find value `a` in this scope
 --> /home/runner/work/glacier/glacier/ices/80678.rs:5:5
  |
5 |     a: Bar
  |     ^ expecting a type here because of type ascription
  |
help: you might have meant to write a `struct` literal
  |
4 ~ fn main() { SomeStruct {
5 |     a: Bar
6 ~ }}
  |

error[E0658]: trait aliases are experimental
 --> /home/runner/work/glacier/glacier/ices/80678.rs:3:1
  |
3 | trait Bar = PartialEq;
  | ^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: see issue #41517 <rust-lang/rust#41517> for more information
  = help: add `#![feature(trait_alias)]` to the crate attributes to enable

error[E0393]: the type parameter `Rhs` must be explicitly specified
 --> /home/runner/work/glacier/glacier/ices/80678.rs:5:8
  |
5 |     a: Bar
  |        ^^^ missing reference to `Rhs`
  |
  = note: because of the default `Self` reference, type parameters must be specified on object types

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0393, E0425, E0658.
For more information about an error, try `rustc --explain E0393`.
==============
  • Loading branch information
rustbot committed Aug 13, 2022
1 parent a04cfb5 commit 514e547
Showing 1 changed file with 0 additions and 0 deletions.
File renamed without changes.

0 comments on commit 514e547

Please sign in to comment.