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

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