exercism-solutions/rust/macros/tests/invalid/two-arrows.rs

8 lines
135 B
Rust
Raw Permalink Normal View History

2024-01-07 18:35:20 -06:00
use macros::hashmap;
use std::collections::HashMap;
fn main() {
// a trailing => isn't valid either
hashmap!('a' => 2, =>);
}