about summary refs log tree commit diff
path: root/src/libstd/rt/stack.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-17 07:15:42 -0700
committerbors <bors@rust-lang.org>2013-09-17 07:15:42 -0700
commit29cdf58861b1054c899c911343ccd8b1af28151a (patch)
treee468dd34991279fcc562dda8af85a05a289c56ef /src/libstd/rt/stack.rs
parentf45c6406bcd5b9cea75203031f91653ed98d8865 (diff)
parent4e161a4d401224507513bfbf33b22f0b72f8ba81 (diff)
downloadrust-29cdf58861b1054c899c911343ccd8b1af28151a.tar.gz
rust-29cdf58861b1054c899c911343ccd8b1af28151a.zip
auto merge of #9244 : thestinger/rust/drop, r=catamorphism
This doesn't close any bugs as the goal is to convert the parameter to by-value, but this is a step towards being able to make guarantees about `&T` pointers (where T is Freeze) to LLVM.
Diffstat (limited to 'src/libstd/rt/stack.rs')
-rw-r--r--src/libstd/rt/stack.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/stack.rs b/src/libstd/rt/stack.rs
index da70659acec..fddee5882b9 100644
--- a/src/libstd/rt/stack.rs
+++ b/src/libstd/rt/stack.rs
@@ -53,7 +53,7 @@ impl StackSegment {
 }
 
 impl Drop for StackSegment {
-    fn drop(&self) {
+    fn drop(&mut self) {
         #[fixed_stack_segment]; #[inline(never)];
 
         unsafe {