mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
8 lines
238 B
Rust
8 lines
238 B
Rust
//@ is "$.index[*][?(@.name=='fst')].inner.function.sig.inputs[0][0]" '"(x, _)"'
|
|
pub fn fst<X, Y>((x, _): (X, Y)) -> X {
|
|
x
|
|
}
|
|
|
|
//@ is "$.index[*][?(@.name=='drop_int')].inner.function.sig.inputs[0][0]" '"_"'
|
|
pub fn drop_int(_: i32) {}
|