mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
17 lines
242 B
Rust
17 lines
242 B
Rust
|
// 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() {
|
||
|
}
|