rust/src/test/ui/chalkify/lower_impl.rs
2018-12-25 21:08:33 -07:00

19 lines
373 B
Rust

#![feature(rustc_attrs)]
trait Foo { }
#[rustc_dump_program_clauses] //~ ERROR program clause dump
impl<T: 'static> Foo for T where T: Iterator<Item = i32> { }
trait Bar {
type Assoc;
}
impl<T> Bar for T where T: Iterator<Item = i32> {
#[rustc_dump_program_clauses] //~ ERROR program clause dump
type Assoc = Vec<T>;
}
fn main() {
println!("hello");
}