rust/tests/ui/impl-trait/issue-68532.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
162 B
Rust
Raw Normal View History

2020-05-25 08:29:25 -05:00
// check-pass
pub struct A<'a>(&'a ());
impl<'a> A<'a> {
const N: usize = 68;
pub fn foo(&self) {
let _b = [0; Self::N];
}
}
fn main() {}