diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-07-13 20:19:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 20:19:47 -0700 |
| commit | 2d8493bb5f5e154aeec07f6c81c65dd0d4242e70 (patch) | |
| tree | 253701c28a0e1184ae03bb266c42a38b3a668f28 /compiler/rustc_pattern_analysis/src | |
| parent | 125343e7abbef6717996cceef6d56479318f6032 (diff) | |
| parent | 7fc69436a1226b254b3b6f9ed8c6d54965e0cfbf (diff) | |
| download | rust-2d8493bb5f5e154aeec07f6c81c65dd0d4242e70.tar.gz rust-2d8493bb5f5e154aeec07f6c81c65dd0d4242e70.zip | |
Rollup merge of #127659 - saethlin:manually-drop-bufwriter, r=joboet
Use ManuallyDrop in BufWriter::into_parts The fact that `mem::forget` takes by value means that it interacts very poorly with Stacked Borrows; generally users think of calling it as a no-op, but in Stacked Borrows, the field retagging tends to cause surprise tag invalidation.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
