tomaka / hlua

Rust library to interface with Lua
MIT License
510 stars 48 forks source link

Compile broken on 1.3.0-nightly #53

Closed rcolinray closed 9 years ago

rcolinray commented 9 years ago
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)

rcolinray commented 9 years ago

It looks like the last compatible nightly release was nightly-2015-06-18.

tomaka commented 9 years ago

I can't even reproduce a minimal example of the working code in the playpen >_>

giodamelio commented 9 years ago

:+1: