tomaka / hlua

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

Fix various warnings from rustc #73

Closed Ameliorate closed 8 years ago

Ameliorate commented 8 years ago

This includes improper_ctypes in lua52-sys, but implemented as #![allow(improper_ctypes)] on the module root. #[allow(improper_ctypes)] on the lua_State struct does not work. If this is merged, #72 should be closed.

It also removes the #[allow(raw_pointer_derive)] from hlua::LuaContext, since that is no longer needed and produces a warning on nightly.

The pr also provides fixes for rust-lang/rust#19925.

tomaka commented 8 years ago

Thanks!