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

fn main() {
    // a single random arrow is not valid
    let _hm: HashMap<(), ()> = hashmap!(=>);
}