]> git.lizzy.rs Git - rust.git/blob - src/test/ui/underscore-ident-matcher.rs
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / test / ui / underscore-ident-matcher.rs
1 macro_rules! identity {
2     ($i: ident) => (
3         $i
4     )
5 }
6
7 fn main() {
8     let identity!(_) = 10; //~ ERROR no rules expected the token `_`
9 }