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

ices/108498.rs: fixed with no errors #1662

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#108498

#![feature(type_alias_impl_trait)]
type Opaque = impl Sized;

fn get_rpit() -> impl Clone {}

fn query(_: impl FnOnce() -> Opaque) {}

fn test() -> Opaque {
    query(get_rpit);
    get_rpit()
}

fn main() {
    test();
}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit 664699a into master Sep 17, 2023
@JohnTitor JohnTitor deleted the autofix/ices/108498.rs branch September 17, 2023 14:34
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