Uh oh!
There was an error while loading. Please reload this page.
Add suggestion to use closure argument instead of a capture on borrowck error - #110061
Conversation
This comment has been minimized.
This comment has been minimized.
WaffleLapkin
commented
Apr 12, 2023
@rustbot ready |
ea6fc6c to
0c8ebc9CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
commented
Apr 16, 2023
☔ The latest upstream changes (presumably #110405) made this pull request unmergeable. Please resolve the merge conflicts. |
385d50c to
e1b56cbCompare
This comment has been minimized.
This comment has been minimized.
d814747 to
8c4596dComparebors
commented
Apr 17, 2023
☔ The latest upstream changes (presumably #110458) made this pull request unmergeable. Please resolve the merge conflicts. |
compiler-errors
commented
Apr 19, 2023
r? @cjgillot |
8c4596d to
b47cd78Comparecjgillot
commented
Apr 19, 2023
r=me with review commits squashed into main commits |
b47cd78 to
4daa932Compare4daa932 to
5d41a46CompareWhile it might *seem* that this does something, it actually doesn't.
`mut_borrow_of_mutable_ref` returns a `bool` that is ignored by the
let-else. This was basically
```rust
if !self.body.local_decls.get(local).is_some() {
return
}
```
Which is pretty uselessWe use caller information to track where a diagnostic was created, so all "helper" diagnostic functions should use `#[track_caller]`
5d41a46 to
cac143fCompareWaffleLapkin
commented
Apr 19, 2023
@bors r=cjgillot I've cleaned-up the git history |
bors
commented
Apr 19, 2023
bors
commented
Apr 19, 2023
bors
commented
Apr 20, 2023
☀️ Test successful - checks-actions |
rust-timer
commented
Apr 20, 2023
Finished benchmarking commit (b9fd498): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
|
Fixes#109271
r? @compiler-errors
This should probably be refined a bit, but opening a PR so that I don't forget anything.