rust/tests/rustdoc-json/impl-trait-precise-capturing.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
364 B
Rust
Raw Normal View History

//@ is "$.index[?(@.name=='hello')].inner.function.sig.output.impl_trait[1].use[0].lifetime" \"\'a\"
//@ is "$.index[?(@.name=='hello')].inner.function.sig.output.impl_trait[1].use[1].param" \"T\"
//@ is "$.index[?(@.name=='hello')].inner.function.sig.output.impl_trait[1].use[2].param" \"N\"
2024-07-11 19:50:03 -04:00
pub fn hello<'a, T, const N: usize>() -> impl Sized + use<'a, T, N> {}