about summary refs log tree commit diff
path: root/src/test/ui/structs-enums/tuple-struct-construct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-03 01:55:20 +0000
committerbors <bors@rust-lang.org>2022-08-03 01:55:20 +0000
commitb759b2efad2d9c713eeab19bf90736a12ff0d74c (patch)
treedcc2433a03143d841bf7af97e216762a11ab7dc3 /src/test/ui/structs-enums/tuple-struct-construct.rs
parente4417cf020fbcd6182c11637bc6b8694434bd81a (diff)
parentb81e74ceb7229fbfdd9283ac671a23357b5e6cf1 (diff)
downloadrust-b759b2efad2d9c713eeab19bf90736a12ff0d74c.tar.gz
rust-b759b2efad2d9c713eeab19bf90736a12ff0d74c.zip
Auto merge of #99509 - lcnr:commit_unconditionally, r=jackh726
remove `commit_unconditionally`

`commit_unconditionally` is a noop unless we somehow inspect the current state of our snapshot. The only thing which does that is the leak check which was only used in one place where `commit_if_ok` is probably at least as, or even more, correct.

r? rust-lang/types
Diffstat (limited to 'src/test/ui/structs-enums/tuple-struct-construct.rs')
0 files changed, 0 insertions, 0 deletions