syn icon indicating copy to clipboard operation
syn copied to clipboard

Parse unsafe attributes

Open dtolnay opened this issue 1 year ago • 0 comments

  • https://github.com/rust-lang/rust/issues/123757
  • https://github.com/rust-lang/rfcs/pull/3325
error: expected identifier, found keyword `unsafe`
 --> dev/main.rs:4:3
  |
4 | #[unsafe(no_mangle)]
  |   ^^^^^^

dtolnay avatar Jul 21 '24 23:07 dtolnay