summaryrefslogtreecommitdiffstats
path: root/src/test/ui/chalkify/lower_trait_where_clause.rs
blob: 19cff8db7cb4ad59c792a43f2ed000a8986d5bda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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() {
}