Make some ui/parser tests compile-pass
This commit is contained in:
parent
51f3b6241d
commit
64c0efab85
12 changed files with 11 additions and 68 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue