mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-29 12:35:55 +00:00
11 lines
176 B
Rust
11 lines
176 B
Rust
struct Foo<
|
|
'a,
|
|
const N: usize = {
|
|
let x: &'a ();
|
|
//~^ ERROR use of non-static lifetime `'a` in const generic
|
|
3
|
|
},
|
|
>(&'a ());
|
|
|
|
fn main() {}
|