]> git.lizzy.rs Git - rust.git/blob - tests/source/closure-block-inside-macro.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / closure-block-inside-macro.rs
1 // #1547
2 fuzz_target!(|data: &[u8]| if let Some(first) = data.first() {
3     let index = *first as usize;
4     if index >= ENCODINGS.len() {
5         return;
6     }
7     let encoding = ENCODINGS[index];
8     dispatch_test(encoding, &data[1..]);
9 });