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

12 lines
201 B
Rust
Raw Normal View History

// run-pass
#[derive(Debug, Eq, PartialEq)]
struct Bar;
fn main() {
const FOO: Option<Bar> = None;
const ARR: [Option<Bar>; 2] = [FOO; 2];
assert_eq!(ARR, [None::<Bar>, None::<Bar>]);
}