2021-08-27 11:04:57 -05:00
|
|
|
fn bar<const X: u8, 'a>(_: &'a ()) {
|
2022-09-09 07:28:57 -05:00
|
|
|
//~^ ERROR lifetime parameters must be declared prior to type and const parameters
|
2019-02-05 10:55:25 -06:00
|
|
|
}
|
|
|
|
|
2021-08-27 11:04:57 -05:00
|
|
|
fn foo<const X: u8, T>(_: &T) {}
|
2019-05-04 08:38:10 -05:00
|
|
|
|
2019-02-05 10:55:25 -06:00
|
|
|
fn main() {}
|