syn icon indicating copy to clipboard operation
syn copied to clipboard

Parse unsafe binder types

Open dtolnay opened this issue 1 year ago • 0 comments

  • Tracking issue: https://github.com/rust-lang/rust/issues/130516
  • Feature gate: #![feature(unsafe_binders)]
fn foo() -> unsafe<'a> &'a () {}

struct Foo {
    x: unsafe<'a> &'a (),
}

struct Bar(unsafe<'a> &'a ());

impl Trait for unsafe<'a> &'a () {}

dtolnay avatar Dec 15 '24 18:12 dtolnay