about summary refs log tree commit diff
path: root/tests/ui/impl-trait/precise-capturing/unexpected-token.stderr
blob: 989c479b2484e0d2b1b13fd32fd256e8731972f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: expected one of `,` or `>`, found `{`
  --> $DIR/unexpected-token.rs:5:27
   |
LL | fn hello() -> impl use<'a {}> Sized {}
   |                           ^ expected one of `,` or `>`

error: expected item, found `>`
  --> $DIR/unexpected-token.rs:5:29
   |
LL | fn hello() -> impl use<'a {}> Sized {}
   |                             ^ expected item
   |
   = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>

error: aborting due to 2 previous errors