Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse pinned type sugar #1770

Open
dtolnay opened this issue Oct 23, 2024 · 0 comments
Open

Parse pinned type sugar #1770

dtolnay opened this issue Oct 23, 2024 · 0 comments
Labels

Comments

@dtolnay
Copy link
Owner

dtolnay commented Oct 23, 2024

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);
}
@dtolnay dtolnay added the syntax label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant