Make some ui/parser tests compile-pass

This commit is contained in:
Vadim Petrochenkov 2018-10-21 00:02:06 +03:00
parent 51f3b6241d
commit 64c0efab85
12 changed files with 11 additions and 68 deletions

View file

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// compile-pass
// compile-flags: -Z parse-only
fn f<T: (Copy) + (?Sized) + (for<'a> Trait<'a>)>() {}
@ -17,5 +18,3 @@ fn main() {
let _: Box<(?Sized) + (for<'a> Trait<'a>) + (Copy)>;
let _: Box<(for<'a> Trait<'a>) + (Copy) + (?Sized)>;
}
FAIL //~ ERROR