summary refs log tree commit diff
path: root/src/test/ui/chalkify/lower_trait_where_clause.rs
blob: 78fa39f1dc1253388ee138ef14cc3cfd6c6bf619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![feature(rustc_attrs)]

use std::borrow::Borrow;

#[rustc_dump_program_clauses] //~ ERROR program clause dump
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() {
    println!("hello");
}