mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +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> {}
|