//! Regression test for https://github.com/rust-lang/rust/issues/15043 //@ run-pass #![allow(warnings)] struct S(T); static s1: S>=S(S(0)); static s2: S=S(0); fn main() { let foo: S>=S(S(0)); let foo: S=S(0); }