rust/src/test/ui/chalkify/lower_trait_where_clause.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
242 B
Rust
Raw Normal View History

2020-03-03 16:25:03 +00:00
// check-pass
// compile-flags: -Z 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() {
}