//@ known-bug: rust-lang/rust#126062 struct Fail(Fail); impl Fail { const C: () = panic!(); } fn f() { if false { let _val = &Fail::::C; } }