Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 229 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![allow(dead_code)]
struct Foo(bool);
struct Container(&'static [&'static Foo]);
static FOO: Foo = Foo(true);
static CONTAINER: Container = Container(&[&FOO]);
fn main() {}
You can’t perform that action at this time.