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

trait Foo {
    #[rustc_dump_env_program_clauses] //~ ERROR program clause dump
    fn foo(&self);
}

impl<T> Foo for T where T: Clone {
    #[rustc_dump_env_program_clauses] //~ ERROR program clause dump
    fn foo(&self) {
    }
}

fn main() {
}