Auto merge of #26696 - steveklabnik:rollup, r=steveklabnik
- Successful merges: #26373, #26506, #26580, #26622, #26627, #26651, #26678, #26692 - Failed merges:
This commit is contained in:
commit
bf3c979ec3
10 changed files with 361 additions and 40 deletions
|
|
@ -20,7 +20,7 @@ fn main() {
|
|||
_x: Port<()>,
|
||||
}
|
||||
|
||||
impl Drop for foo {
|
||||
impl Drop for foo {
|
||||
fn drop(&mut self) {}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -165,7 +165,7 @@ pub mod pipes {
|
|||
p: Option<*const packet<T>>,
|
||||
}
|
||||
|
||||
impl<T:Send> Drop for send_packet<T> {
|
||||
impl<T:Send> Drop for send_packet<T> {
|
||||
fn drop(&mut self) {
|
||||
unsafe {
|
||||
if self.p != None {
|
||||
|
|
@ -194,7 +194,7 @@ pub mod pipes {
|
|||
p: Option<*const packet<T>>,
|
||||
}
|
||||
|
||||
impl<T:Send> Drop for recv_packet<T> {
|
||||
impl<T:Send> Drop for recv_packet<T> {
|
||||
fn drop(&mut self) {
|
||||
unsafe {
|
||||
if self.p != None {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue