fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
250 B10 linesraw
1// run-rustfix
2// https://github.com/rust-lang/rust/issues/95616
3
4fn buggy_const<'a, const N: usize>(_a: &'a Option<[u8; N]>, _f: &'a str) -> &'a str { //~ERROR [E0106]
5    return "";
6}
7
8fn main() {
9    buggy_const(&Some([69,69,69,69,0]), "test");
10}