about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-07-13 20:19:47 -0700
committerGitHub <noreply@github.com>2024-07-13 20:19:47 -0700
commit2d8493bb5f5e154aeec07f6c81c65dd0d4242e70 (patch)
tree253701c28a0e1184ae03bb266c42a38b3a668f28 /compiler/rustc_pattern_analysis/src
parent125343e7abbef6717996cceef6d56479318f6032 (diff)
parent7fc69436a1226b254b3b6f9ed8c6d54965e0cfbf (diff)
downloadrust-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