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

ices/103666.rs: fixed with errors #1489

Merged
merged 1 commit into from
Jan 20, 2023
Merged

ices/103666.rs: fixed with errors #1489

merged 1 commit into from
Jan 20, 2023

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#103666

#![feature(type_alias_impl_trait)]

type Tait<'b> = impl Sized;

fn foo(f: &dyn Fn(Tait)) {}

fn main() {}
=== stdout ===
=== stderr ===
error: unconstrained opaque type
 --> /home/runner/work/glacier/glacier/ices/103666.rs:3:17
  |
3 | type Tait<'b> = impl Sized;
  |                 ^^^^^^^^^^
  |
  = note: `Tait` must be used in combination with a concrete type within the same module

error: aborting due to previous error

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

=== stdout ===
=== stderr ===
error: unconstrained opaque type
 --> /home/runner/work/glacier/glacier/ices/103666.rs:3:17
  |
3 | type Tait<'b> = impl Sized;
  |                 ^^^^^^^^^^
  |
  = note: `Tait` must be used in combination with a concrete type within the same module

error: aborting due to previous error

==============
@Alexendoo Alexendoo merged commit a4d001b into master Jan 20, 2023
@Alexendoo Alexendoo deleted the autofix/ices/103666.rs branch January 20, 2023 10:33
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