rust/tests/ui/issues/issue-15043.rs

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

15 lines
220 B
Rust
Raw Normal View History

//@ run-pass
//@ pretty-expanded FIXME #23616
#![allow(warnings)]
struct S<T>(T);
static s1: S<S<usize>>=S(S(0));
static s2: S<usize>=S(0);
fn main() {
let foo: S<S<usize>>=S(S(0));
let foo: S<usize>=S(0);
}