8 lines
104 B
Rust
8 lines
104 B
Rust
fn foo<const X: usize>() -> usize {
|
|
0
|
|
}
|
|
|
|
fn main() {
|
|
foo(); //~ ERROR type annotations needed
|
|
}
|