Skip to content

Commit

Permalink
Update ui test output to nightly-2023-05-11
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed May 11, 2023
1 parent 468d33b commit 6e0c2c2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/ui/cfg/cfg_attr-type-mismatch.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ error[E0308]: mismatched types
--> tests/ui/cfg/cfg_attr-type-mismatch.rs:24:22
|
24 | let _: &mut u8 = x.f; //~ ERROR E0308
| ------- ^^^
| | |
| | expected `&mut u8`, found `Pin<&mut u8>`
| | help: consider mutably borrowing here: `&mut x.f`
| ------- ^^^ expected `&mut u8`, found `Pin<&mut u8>`
| |
| expected due to this
|
= note: expected mutable reference `&mut u8`
found struct `Pin<&mut u8>`
help: consider mutably borrowing here
|
24 | let _: &mut u8 = &mut x.f; //~ ERROR E0308
| ++++

0 comments on commit 6e0c2c2

Please sign in to comment.