]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/const-param-before-other-params.rs
1 fn bar
<const X
: u8, 'a
>(_
: &'
a ()) {
2 //~^ ERROR lifetime parameters must be declared prior to type and const parameters
5 fn foo
<const X
: u8, T
>(_
: &T
) {}