#![feature(generic_const_exprs)] #![allow(incomplete_features)] pub struct Foo; pub fn foo() -> Foo<{ N + 1 }> { Foo }