]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/lower_trait_where_clause.rs
Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser
[rust.git] / src / test / ui / chalkify / lower_trait_where_clause.rs
1 // check-pass
2 // compile-flags: -Z chalk
3
4 use std::borrow::Borrow;
5
6 trait Foo<'a, 'b, T, U>
7 where
8     T: Borrow<U> + ?Sized,
9     U: ?Sized + 'b,
10     'a: 'b,
11     Box<T>:, // NOTE(#53696) this checks an empty list of bounds.
12 {
13 }
14
15 fn main() {
16 }