]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-trait/issue-68532.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / ui / impl-trait / issue-68532.rs
1 // check-pass
2
3 pub struct A<'a>(&'a ());
4
5 impl<'a> A<'a> {
6     const N: usize = 68;
7
8     pub fn foo(&self) {
9         let _b = [0; Self::N];
10     }
11 }
12
13 fn main() {}