about summary refs log tree commit diff
path: root/tests/ui/async-await/pin-ergonomics/sugar-no-const.stderr
blob: 822cfffcb8c620a097f9cd02139d3a021a2f26ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: expected one of `!`, `(`, `::`, `;`, `<`, or `=`, found `i32`
  --> $DIR/sugar-no-const.rs:7:18
   |
LL |     let _x: &pin i32 = todo!();
   |           -      ^^^ expected one of `!`, `(`, `::`, `;`, `<`, or `=`
   |           |
   |           while parsing the type for `_x`
   |
help: there is a keyword `in` with a similar name
   |
LL |     let _x: &in i32 = todo!();
   |              ~~

error: aborting due to 1 previous error