summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/min_const_generics/default_function_param.rs
blob: 92d495ef6653bb9830c0138bd5622a4c1529c499 (plain)
1
2
3
4
#![crate_type = "lib"]

fn foo<const SIZE: usize = 5usize>() {}
//~^ ERROR defaults for const parameters are