]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/fns/pattern_arg.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / rustdoc-json / fns / pattern_arg.rs
1 // @is "$.index[*][?(@.name=='fst')].inner.decl.inputs[0][0]" '"(x, _)"'
2 pub fn fst<X, Y>((x, _): (X, Y)) -> X {
3     x
4 }
5
6 // @is "$.index[*][?(@.name=='drop_int')].inner.decl.inputs[0][0]" '"_"'
7 pub fn drop_int(_: i32) {}