]>
git.proxmox.com Git - rustc.git/blob - tests/ui/syntax-extension-minor.rs
3 #![feature(concat_idents)]
7 let _
: concat_idents
!(F
, oo
) = Foo
; // Test that `concat_idents!` can be used in type positions
9 let asdf_fdsa
= "<.<".to_string();
10 // concat_idents should have call-site hygiene.
11 assert
!(concat_idents
!(asd
, f_f
, dsa
) == "<.<".to_string());
13 assert_eq
!(stringify
!(use_mention_distinction
), "use_mention_distinction");