]> git.lizzy.rs Git - rust.git/blob - crates/syntax/test_data/parser/validation/0045_ambiguous_trait_object.rs
Fix .gitattributes for test_data
[rust.git] / crates / syntax / test_data / parser / validation / 0045_ambiguous_trait_object.rs
1 type Foo<'a> = &'a dyn Send + Sync;
2 type Foo = *const dyn Send + Sync;
3 type Foo = fn() -> dyn Send + 'static;
4 fn main() {
5     let b = (&a) as &dyn Add<Other, Output = Addable> + Other;
6 }