about summary refs log tree commit diff
path: root/tests/rustdoc-json/impl-trait-precise-capturing.rs
blob: bf98868d1453d6aad3bd46b7b5867cdee1b930f5 (plain)
1
2
3
4
5
6
#![feature(precise_capturing)]

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