aboutsummaryrefslogtreecommitdiff
path: root/rust/macros/tests/invalid/two-arrows.rs
blob: 254a82e7a6a3f80cd182a2fee96c86523035cbf9 (plain) (blame)
1
2
3
4
5
6
7
use macros::hashmap;
use std::collections::HashMap;

fn main() {
    // a trailing => isn't valid either
    hashmap!('a' => 2, =>);
}