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
|
@ -4,7 +4,7 @@ error[E0277]: `Rc<()>` cannot be sent between threads safely
|
|||
LL | thread::spawn(move|| {
|
||||
| ------------- ^-----
|
||||
| | |
|
||||
| _____|_____________within this `[closure@$DIR/no-send-res-ports.rs:25:19: 25:25]`
|
||||
| _____|_____________within this `{closure@$DIR/no-send-res-ports.rs:25:19: 25:25}`
|
||||
| | |
|
||||
| | required by a bound introduced by this call
|
||||
LL | |
|
||||
|
@ -13,7 +13,7 @@ LL | | println!("{:?}", y);
|
|||
LL | | });
|
||||
| |_____^ `Rc<()>` cannot be sent between threads safely
|
||||
|
|
||||
= help: within `[closure@$DIR/no-send-res-ports.rs:25:19: 25:25]`, the trait `Send` is not implemented for `Rc<()>`
|
||||
= help: within `{closure@$DIR/no-send-res-ports.rs:25:19: 25:25}`, the trait `Send` is not implemented for `Rc<()>`
|
||||
note: required because it appears within the type `Port<()>`
|
||||
--> $DIR/no-send-res-ports.rs:5:8
|
||||
|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue