dtolnay / dtolnay/syn

Parse pinned type sugar

Open
#1,770 0 comments 0 reactions 0 assignees View on GitHub
syntax
Dominant language
Rust
Stars
3.4k
Forks
374
Avg merge
1d 5h
Merged PRs (30d)
2

Description

- Tracking issue: https://github.com/rust-lang/rust/issues/130494
- Feature gate: `#![feature(pin_ergonomics)]`

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

```rust
#![feature(pin_ergonomics)]

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.