]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/const-generic-default-wont-borrowck.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / const-generics / const-generic-default-wont-borrowck.rs
1 struct X<const N: usize = {
2     let s: &'static str; s.len() //~ ERROR E0381
3 }>;
4
5 fn main() {}