aboutsummaryrefslogtreecommitdiff
path: root/ui-tests/src/bin/unconvertible_type.rs
blob: 6fd68d4c269c0d6dce46f055a6364685acf197cb (plain)
1
2
3
4
5
6
7
8
9
10
type Foo<T> = Option<T>;

#[dynamize::dynamize]
trait Trait {
    type A: std::error::Error;

    fn a(&self) -> Option<Foo<Self::A>>;
}

fn main() {}