mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
9 lines
554 B
Rust
9 lines
554 B
Rust
// ignore-tidy-linelength
|
|
|
|
//@ count '$.index[*][?(@.name=="outlives")].inner.function.generics.params[*]' 2
|
|
//@ is '$.index[*][?(@.name=="outlives")].inner.function.generics.params[0].name' \"\'a\"
|
|
//@ is '$.index[*][?(@.name=="outlives")].inner.function.generics.params[0].kind.lifetime.outlives' []
|
|
//@ is '$.index[*][?(@.name=="outlives")].inner.function.generics.params[1].name' '"T"'
|
|
//@ is '$.index[*][?(@.name=="outlives")].inner.function.generics.params[1].kind.type.bounds' '[{"outlives": "'\''a"}]'
|
|
pub fn outlives<'a, T: 'a>() {}
|