about summary refs log tree commit diff
path: root/tests/ui/impl-trait/in-trait/foreign-dyn-error.rs
blob: 5b891170a4f10a2590d7beb6933d987f066dd530 (plain)
1
2
3
4
5
6
7
8
//@ aux-build: rpitit.rs

extern crate rpitit;

fn main() {
    let _: &dyn rpitit::Foo = todo!();
    //~^ ERROR the trait `Foo` is not dyn compatible
}