2018-03-26 23:03:50 -05:00
|
|
|
#![feature(rustc_attrs)]
|
|
|
|
|
|
|
|
use std::borrow::Borrow;
|
|
|
|
|
2018-04-18 18:58:22 -05:00
|
|
|
#[rustc_dump_program_clauses] //~ ERROR program clause dump
|
2018-10-31 12:55:40 -05:00
|
|
|
trait Foo<'a, 'b, T, U>
|
2018-08-25 16:28:23 -05:00
|
|
|
where
|
2018-10-31 12:55:40 -05:00
|
|
|
T: Borrow<U> + ?Sized,
|
|
|
|
U: ?Sized + 'b,
|
2018-08-25 16:28:23 -05:00
|
|
|
'a: 'b,
|
2018-10-31 12:55:40 -05:00
|
|
|
Box<T>:, // NOTE(#53696) this checks an empty list of bounds.
|
2018-08-25 16:28:23 -05:00
|
|
|
{
|
2018-03-26 23:03:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
println!("hello");
|
|
|
|
}
|