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

ices/93553.rs: fixed with no errors #1108

Merged
merged 1 commit into from
Feb 5, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 5, 2022

Issue: rust-lang/rust#93553

trait Foo {
    type Bar;
}

trait Baz: Foo {
    const Bar: Self::Bar;
}

pub fn main() {}
=== stdout ===
=== stderr ===
warning: associated constant `Bar` should have an upper case name
 --> /home/runner/work/glacier/glacier/ices/93553.rs:6:11
  |
6 |     const Bar: Self::Bar;
  |           ^^^ help: convert the identifier to upper case: `BAR`
  |
  = note: `#[warn(non_upper_case_globals)]` on by default

warning: 1 warning emitted

==============

=== stdout ===
=== stderr ===
warning: associated constant `Bar` should have an upper case name
 --> /home/runner/work/glacier/glacier/ices/93553.rs:6:11
  |
6 |     const Bar: Self::Bar;
  |           ^^^ help: convert the identifier to upper case: `BAR`
  |
  = note: `#[warn(non_upper_case_globals)]` on by default

warning: 1 warning emitted

==============
@Alexendoo Alexendoo merged commit 63cdf10 into master Feb 5, 2022
@Alexendoo Alexendoo deleted the autofix/ices/93553.rs branch February 5, 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