]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/const-generic-default-wont-borrowck.rs
Auto merge of #106503 - cjgillot:remap-nofilter, r=oli-obk
[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() {}