mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
5 lines
128 B
Rust
5 lines
128 B
Rust
#![crate_type = "lib"]
|
|
|
|
fn foo<const SIZE: usize = 5usize>() {}
|
|
//~^ ERROR defaults for generic parameters are not allowed here
|