adjust how closure/generator types and rvalues are printed
This commit is contained in:
parent
e4a361a48a
commit
c4ec12f4b7
191 changed files with 477 additions and 477 deletions
|
@ -12,9 +12,9 @@ LL | | });
|
|||
| | ^
|
||||
| | |
|
||||
| |_____`&mut Context<'_>` may not be safely transferred across an unwind boundary
|
||||
| within this `[async block@$DIR/async-is-unwindsafe.rs:12:19: 29:6]`
|
||||
| within this `{async block@$DIR/async-is-unwindsafe.rs:12:19: 29:6}`
|
||||
|
|
||||
= help: within `[async block@$DIR/async-is-unwindsafe.rs:12:19: 29:6]`, the trait `UnwindSafe` is not implemented for `&mut Context<'_>`
|
||||
= help: within `{async block@$DIR/async-is-unwindsafe.rs:12:19: 29:6}`, the trait `UnwindSafe` is not implemented for `&mut Context<'_>`
|
||||
= note: `UnwindSafe` is implemented for `&Context<'_>`, but not for `&mut Context<'_>`
|
||||
note: future does not implement `UnwindSafe` as this value is used across an await
|
||||
--> $DIR/async-is-unwindsafe.rs:25:18
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue