aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0069_multi_trait_object.rs
blob: 97eb79c486f1d5c872e38dd709c08da9a138c4a1 (plain)
1
2
3
4
5
6
type Foo<'a> = &'a (dyn Send + Sync);
type Foo = *const (dyn Send + Sync);
type Foo = fn() -> (dyn Send + 'static);
fn main() {
    let b = (&a) as &(dyn Add<Other, Output = Addable> + Other);
}