We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
This code snippet:
struct Foo<'a>(&'a [&'a bool]); static TEST: bool = true; static FOO: Foo = Foo(&[&TEST]); fn main() {}
compiles on stable rust rustc 1.20.0 (f3d6973f4 2017-08-27), but not on rustc 1.22.0-nightly (2f1ef9ef1 2017-09-05).
rustc 1.20.0 (f3d6973f4 2017-08-27)
rustc 1.22.0-nightly (2f1ef9ef1 2017-09-05)
Playground link