summaryrefslogtreecommitdiffstats
path: root/tests/ui/unsized/unsized-inherent-impl-self-type.rs
blob: 8bdf80c94da2203656c3d856c4860f545ef81288 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Test sized-ness checking in substitution in impls.

// impl - struct

struct S5<Y>(Y);

impl<X: ?Sized> S5<X> {
    //~^ ERROR the size for values of type
}

fn main() { }