rust/tests/ui/async-await/pin-sugar-no-const.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
447 B
Plaintext
Raw Normal View History

2024-09-20 14:09:18 -05:00
error: expected one of `!`, `(`, `::`, `;`, `<`, or `=`, found `i32`
--> $DIR/pin-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