about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-11-29 22:57:33 +0100
committerGitHub <noreply@github.com>2019-11-29 22:57:33 +0100
commit56203be06f3671ce73d5634bf5c098eb3b8b1c1c (patch)
treea8a74fd3b9ca28fc3ef073b4d7f79c709852303c /src/test/debuginfo/enum-thinlto.rs
parent64efc45bb9f550374df302d219dd721f19604b2b (diff)
parentbabe9fcbc1d5aa5a6a53b7d2e34777cfe28e2c41 (diff)
downloadrust-56203be06f3671ce73d5634bf5c098eb3b8b1c1c.tar.gz
rust-56203be06f3671ce73d5634bf5c098eb3b8b1c1c.zip
Rollup merge of #66766 - RalfJung:panic-comments, r=SimonSapin
Panic machinery comments and tweaks

This is mostly more comments, but I also renamed some things:
* `BoxMeUp::box_me_up` is not terribly descriptive, and since this is a "take"-style method (the argument is `&mut self` but the return type is fully owned, even though you can't tell from the type) I chose a name involving "take".
* `continue_panic_fmt` was very confusing as it was entirely unclear what was being continued -- for some time I thought "continue" might be the same as "resume" for a panic, but that's something entirely different. So I renamed this to `begin_panic_handler`, matching the `begin_panic*` theme of the other entry points.

r? @Dylan-DPC @SimonSapin
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions