syn icon indicating copy to clipboard operation
syn copied to clipboard

Parse pinned type sugar

Open dtolnay opened this issue 1 year ago • 0 comments

  • 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

#![feature(pin_ergonomics)]

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

dtolnay avatar Oct 23 '24 20:10 dtolnay