mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
7 lines
387 B
Rust
7 lines
387 B
Rust
#![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> {}
|