about summary refs log tree commit diff
path: root/tests/ui/parser/trait-object-polytrait-priority.stderr
blob: a291a8e229c4bf84e2720b2c883118f278c15f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0178]: expected a path on the left-hand side of `+`
  --> $DIR/trait-object-polytrait-priority.rs:6:12
   |
LL |     let _: &for<'a> Trait<'a> + 'static;
   |            ^^^^^^^^^^^^^^^^^^
   |
help: try adding parentheses
   |
LL |     let _: &(for<'a> Trait<'a> + 'static);
   |             +                           +

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0178`.