]> git.proxmox.com Git - rustc.git/blob - src/test/ui/suggestions/lifetimes/missing-lifetimes-in-signature-before-const.fixed
Update unsuspicious file list
[rustc.git] / src / test / ui / suggestions / lifetimes / missing-lifetimes-in-signature-before-const.fixed
1 // run-rustfix
2 // https://github.com/rust-lang/rust/issues/95616
3
4 fn buggy_const<'a, const N: usize>(_a: &'a Option<[u8; N]>, _f: &'a str) -> &'a str { //~ERROR [E0106]
5 return "";
6 }
7
8 fn main() {
9 buggy_const(&Some([69,69,69,69,0]), "test");
10 }