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

ices/49362.rs: fixed with no errors #234

Merged
merged 1 commit into from
Dec 23, 2019
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#49362

#![feature(generic_associated_types)]

struct S;

trait Trait {
    type Associated<'a>;
}

impl Trait for S {
    type Associated<'a> = &'a ();
}

fn main() {}
=== stdout ===
=== stderr ===
warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash
 --> /home/runner/work/glacier/glacier/ices/49362.rs:1:12
  |
1 | #![feature(generic_associated_types)]
  |            ^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default

warning: struct is never constructed: `S`
 --> /home/runner/work/glacier/glacier/ices/49362.rs:3:8
  |
3 | struct S;
  |        ^
  |
  = note: `#[warn(dead_code)]` on by default

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

=== stdout ===
=== stderr ===
warning: the feature `generic_associated_types` is incomplete and may cause the compiler to crash
 --> /home/runner/work/glacier/glacier/ices/49362.rs:1:12
  |
1 | #![feature(generic_associated_types)]
  |            ^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(incomplete_features)]` on by default

warning: struct is never constructed: `S`
 --> /home/runner/work/glacier/glacier/ices/49362.rs:3:8
  |
3 | struct S;
  |        ^
  |
  = note: `#[warn(dead_code)]` on by default

==============
@JohnTitor JohnTitor merged commit 29d5ab8 into master Dec 23, 2019
@JohnTitor JohnTitor deleted the autofix/ices/49362.rs branch December 23, 2019 12:07
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.

None yet

2 participants