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

ices/103708.rs: fixed with errors #1693

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#103708

#![feature(min_specialization)]

trait Dance {}

impl<'a, T> Dance for T {}

impl Dance for bool {}

fn main() {}
=== stdout ===
=== stderr ===
error: specialization impl does not specialize any associated items
 --> /home/runner/work/glacier/glacier/ices/103708.rs:7:1
  |
7 | impl Dance for bool {}
  | ^^^^^^^^^^^^^^^^^^^
  |
note: impl is a specialization of this impl
 --> /home/runner/work/glacier/glacier/ices/103708.rs:5:1
  |
5 | impl<'a, T> Dance for T {}
  | ^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error: specialization impl does not specialize any associated items
 --> /home/runner/work/glacier/glacier/ices/103708.rs:7:1
  |
7 | impl Dance for bool {}
  | ^^^^^^^^^^^^^^^^^^^
  |
note: impl is a specialization of this impl
 --> /home/runner/work/glacier/glacier/ices/103708.rs:5:1
  |
5 | impl<'a, T> Dance for T {}
  | ^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

==============
@JohnTitor JohnTitor mentioned this pull request Oct 22, 2023
@JohnTitor JohnTitor deleted the autofix/ices/103708.rs branch December 24, 2023 12:02
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.

1 participant