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
352 B
Rust
Raw Normal View History

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