Skip to content

Parse pinned type sugar #1770

Open
Open
@dtolnay

Description

@dtolnay

https://github.com/rust-lang/rust/blob/be01dabfefd2daa4574b974f571c7852085d60cb/tests/ui/async-await/pin-sugar.rs

#![feature(pin_ergonomics)]

trait Trait {
    fn pinned_mut(self: &pin mut Self);
    fn pinned_const(self: &pin const Self);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions