]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/chalkify/lower_trait_higher_rank.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / chalkify / lower_trait_higher_rank.rs
index 47e9398d3647eefc2646210fdd7f4f7ff8df0195..a48979491a10de7144a331e911d39a55923ff2d0 100644 (file)
@@ -1,21 +1,9 @@
-// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
+// check-pass
+// compile-flags: -Z chalk
 
-#![feature(rustc_attrs)]
-
-#[rustc_dump_program_clauses] //~ ERROR program clause dump
-trait Foo<F> where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8
+trait Foo<F: ?Sized> where for<'a> F: Fn(&'a (u8, u16)) -> &'a u8
 {
-    fn s(F) -> F;
 }
 
 fn main() {
-    println!("hello");
 }