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

ices/85103.rs: fixed with errors #1023

Merged
merged 1 commit into from
Dec 2, 2021
Merged

ices/85103.rs: fixed with errors #1023

merged 1 commit into from
Dec 2, 2021

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 2, 2021

Issue: rust-lang/rust#85103

#![feature(rustc_attrs)]

trait Foo {
    type Bar;
}

#[rustc_layout(debug)]
type Edges<E> = <E as Foo>::Bar;
fn main() {}
=== stdout ===
=== stderr ===
error: layout error: NormalizationFailure(<E as Foo>::Bar, Type(<E as Foo>::Bar))
 --> /home/runner/work/glacier/glacier/ices/85103.rs:8:1
  |
8 | type Edges<E> = <E as Foo>::Bar;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error: layout error: NormalizationFailure(<E as Foo>::Bar, Type(<E as Foo>::Bar))
 --> /home/runner/work/glacier/glacier/ices/85103.rs:8:1
  |
8 | type Edges<E> = <E as Foo>::Bar;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

==============
@Alexendoo Alexendoo merged commit 6f5c053 into master Dec 2, 2021
@Alexendoo Alexendoo deleted the autofix/ices/85103.rs branch December 2, 2021 14:30
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