Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
auxiliary
/
anon_const_non_local.rs
blob: 8779e20a2af685d96477c768b0a1ad5af342beee [
file
] [
log
] [
blame
]
#![
feature
(
generic_const_exprs
)]
pub
struct
Foo
<
const
N
:
usize
>;
pub
fn
foo
<
const
N
:
usize
>()
->
Foo
<{
N
+
1
}>
{
Foo
}