src/lib.rs:262:37: 262:47 error: cannot use `self.lua.0` because it was mutably borrowed
src/lib.rs:262 unsafe { ffi::lua_setglobal(self.lua.0, index.as_ptr()); }
^~~~~~~~~~
src/lib.rs:261:27: 261:31 note: borrow of `*self` occurs here
src/lib.rs:261 value.push_to_lua(self).forget();
Output of rustc --version : rustc 1.3.0-nightly (e5a28bca7 2015-06-25)
Output of
rustc --version
:rustc 1.3.0-nightly (e5a28bca7 2015-06-25)