about summary refs log tree commit diff
path: root/src/test/compile-fail/refutable-pattern-errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-16 18:46:45 +0000
committerbors <bors@rust-lang.org>2014-06-16 18:46:45 +0000
commit0973eb4419d0598c1134106adef2ee8dc2a2b5ff (patch)
tree104b15384719ebd66718f846f9dbeedaed85e0d0 /src/test/compile-fail/refutable-pattern-errors.rs
parent4b672a63da3083ab6d4673cdb223bc1c978ed7d2 (diff)
parent2fe926431bb198a052a5eae92ff820a4f572fd92 (diff)
downloadrust-0973eb4419d0598c1134106adef2ee8dc2a2b5ff.tar.gz
rust-0973eb4419d0598c1134106adef2ee8dc2a2b5ff.zip
auto merge of #14551 : alexcrichton/rust/issue-14467, r=kballard
Forking off a child which survives the parent is often a useful task, and is
currently not possible because the Process type will invoke `wait()` in its
destructor in order to prevent leaking resources. This function adds a new safe
method, `daemonize`, which can be used to consume an instance of `Process` which
will then not call `wait` in the destructor.

This new method is clearly documented as a leak of resources, but it must be
forcibly opted in to.

Closes #14467
Diffstat (limited to 'src/test/compile-fail/refutable-pattern-errors.rs')
0 files changed, 0 insertions, 0 deletions