]>
git.proxmox.com Git - rustc.git/blob - vendor/syn/tests/test_pat.rs
8 match syn
::parse2(quote
!(self)).unwrap() {
10 value
=> panic
!("expected PatIdent, got {:?}", value
),
16 match syn
::parse2(quote
!(self::CONST
)).unwrap() {
18 value
=> panic
!("expected PatPath, got {:?}", value
),