rust/tests/ui/chalkify/lower_trait_where_clause.rs
2023-01-11 09:32:08 +00:00

17 lines
255 B
Rust

// check-pass
// compile-flags: -Z trait-solver=chalk
use std::borrow::Borrow;
trait Foo<'a, 'b, T, U>
where
T: Borrow<U> + ?Sized,
U: ?Sized + 'b,
'a: 'b,
Box<T>:, // NOTE(#53696) this checks an empty list of bounds.
{
}
fn main() {
}