1 error[E0178]: expected a path on the left-hand side of `+`, not `&'a Foo`
4 LL | w: &'a Foo + Copy,
5 | ^^^^^^^^^^^^^^ help: try adding parentheses: `&'a (Foo + Copy)`
7 error[E0178]: expected a path on the left-hand side of `+`, not `&'a Foo`
11 | ^^^^^^^^^^^^ help: try adding parentheses: `&'a (Foo + 'a)`
13 error[E0178]: expected a path on the left-hand side of `+`, not `&'a mut Foo`
16 LL | y: &'a mut Foo + 'a,
17 | ^^^^^^^^^^^^^^^^ help: try adding parentheses: `&'a mut (Foo + 'a)`
19 error[E0178]: expected a path on the left-hand side of `+`, not `fn() -> Foo`
22 LL | z: fn() -> Foo + 'a,
23 | ^^^^^^^^^^^^^^^^ perhaps you forgot parentheses?
25 error: aborting due to 4 previous errors
27 For more information about this error, try `rustc --explain E0178`.