4 // regression test for #78180
5 // compile-flags: -Zsave-analysis
7 #![cfg_attr(full, feature(generic_const_exprs))]
8 #![cfg_attr(full, allow(incomplete_features))]
11 fn test<const N: usize>() {}
13 fn wow<'a>() -> &'a () {
15 let _: &'a (); //[min]~ ERROR a non-static lifetime