Skip to content

Commit c5c1fe3

Browse files
committed
Fix tests
1 parent 0cc4b15 commit c5c1fe3

9 files changed

+141
-106
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ jobs:
129129
- name: Run compile tests (macos lua54)
130130
if: ${{ matrix.os == 'macos-latest' && matrix.lua == 'lua54' }}
131131
run: |
132-
TRYBUILD=overwrite cargo test --features "${{ matrix.lua }},vendored" -- --ignored
133-
TRYBUILD=overwrite cargo test --features "${{ matrix.lua }},vendored,async,send,serialize,macros" -- --ignored
132+
TRYBUILD=overwrite cargo test --features "${{ matrix.lua }},vendored" --tests -- --ignored
133+
TRYBUILD=overwrite cargo test --features "${{ matrix.lua }},vendored,async,send,serialize,macros" --tests -- --ignored
134134
shell: bash
135135

136136
test_with_sanitizer:

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ pub use mlua_derive::FromLua;
217217
///
218218
/// You can register multiple entrypoints as required.
219219
///
220-
/// ```
220+
/// ```ignore
221221
/// use mlua::{Lua, Result, Table};
222222
///
223223
/// #[mlua::lua_module]

tests/compile/lua_norefunwindsafe.stderr

Lines changed: 29 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1-
error[E0277]: the type `UnsafeCell<mlua::state::raw::RawLua>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
1+
error[E0277]: the type `UnsafeCell<*mut lua_State>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
22
--> tests/compile/lua_norefunwindsafe.rs:7:18
33
|
44
7 | catch_unwind(|| lua.create_table().unwrap());
5-
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<mlua::state::raw::RawLua>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
5+
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<*mut lua_State>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
66
| |
77
| required by a bound introduced by this call
88
|
9-
= help: within `Lua`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<mlua::state::raw::RawLua>`, which is required by `{closure@$DIR/tests/compile/lua_norefunwindsafe.rs:7:18: 7:20}: UnwindSafe`
10-
note: required because it appears within the type `lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>`
11-
--> $CARGO/lock_api-0.4.12/src/remutex.rs
12-
|
13-
| pub struct ReentrantMutex<R, G, T: ?Sized> {
14-
| ^^^^^^^^^^^^^^
15-
note: required because it appears within the type `alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
16-
--> $RUST/alloc/src/sync.rs
9+
= help: within `mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<*mut lua_State>`
10+
note: required because it appears within the type `Cell<*mut lua_State>`
11+
--> $RUST/core/src/cell.rs
1712
|
18-
| struct ArcInner<T: ?Sized> {
19-
| ^^^^^^^^
20-
note: required because it appears within the type `PhantomData<alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>>`
21-
--> $RUST/core/src/marker.rs
13+
| pub struct Cell<T: ?Sized> {
14+
| ^^^^
15+
note: required because it appears within the type `mlua::state::raw::RawLua`
16+
--> src/state/raw.rs
2217
|
23-
| pub struct PhantomData<T: ?Sized>;
24-
| ^^^^^^^^^^^
25-
note: required because it appears within the type `Arc<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
26-
--> $RUST/alloc/src/sync.rs
18+
| pub struct RawLua {
19+
| ^^^^^^
20+
note: required because it appears within the type `mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>`
21+
--> src/types/sync.rs
2722
|
28-
| pub struct Arc<
29-
| ^^^
23+
| pub(crate) struct ReentrantMutex<T>(T);
24+
| ^^^^^^^^^^^^^^
25+
= note: required for `Rc<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` to implement `RefUnwindSafe`
3026
note: required because it appears within the type `Lua`
3127
--> src/state.rs
3228
|
@@ -44,45 +40,27 @@ note: required by a bound in `std::panic::catch_unwind`
4440
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
4541
| ^^^^^^^^^^ required by this bound in `catch_unwind`
4642

47-
error[E0277]: the type `UnsafeCell<usize>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
43+
error[E0277]: the type `UnsafeCell<mlua::state::extra::ExtraData>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
4844
--> tests/compile/lua_norefunwindsafe.rs:7:18
4945
|
5046
7 | catch_unwind(|| lua.create_table().unwrap());
51-
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<usize>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
47+
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<mlua::state::extra::ExtraData>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
5248
| |
5349
| required by a bound introduced by this call
5450
|
55-
= help: within `Lua`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<usize>`, which is required by `{closure@$DIR/tests/compile/lua_norefunwindsafe.rs:7:18: 7:20}: UnwindSafe`
56-
note: required because it appears within the type `Cell<usize>`
57-
--> $RUST/core/src/cell.rs
51+
= help: the trait `RefUnwindSafe` is not implemented for `UnsafeCell<mlua::state::extra::ExtraData>`
52+
= note: required for `Rc<UnsafeCell<mlua::state::extra::ExtraData>>` to implement `RefUnwindSafe`
53+
note: required because it appears within the type `mlua::state::raw::RawLua`
54+
--> src/state/raw.rs
5855
|
59-
| pub struct Cell<T: ?Sized> {
60-
| ^^^^
61-
note: required because it appears within the type `lock_api::remutex::RawReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId>`
62-
--> $CARGO/lock_api-0.4.12/src/remutex.rs
63-
|
64-
| pub struct RawReentrantMutex<R, G> {
65-
| ^^^^^^^^^^^^^^^^^
66-
note: required because it appears within the type `lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>`
67-
--> $CARGO/lock_api-0.4.12/src/remutex.rs
68-
|
69-
| pub struct ReentrantMutex<R, G, T: ?Sized> {
70-
| ^^^^^^^^^^^^^^
71-
note: required because it appears within the type `alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
72-
--> $RUST/alloc/src/sync.rs
56+
| pub struct RawLua {
57+
| ^^^^^^
58+
note: required because it appears within the type `mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>`
59+
--> src/types/sync.rs
7360
|
74-
| struct ArcInner<T: ?Sized> {
75-
| ^^^^^^^^
76-
note: required because it appears within the type `PhantomData<alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>>`
77-
--> $RUST/core/src/marker.rs
78-
|
79-
| pub struct PhantomData<T: ?Sized>;
80-
| ^^^^^^^^^^^
81-
note: required because it appears within the type `Arc<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
82-
--> $RUST/alloc/src/sync.rs
83-
|
84-
| pub struct Arc<
85-
| ^^^
61+
| pub(crate) struct ReentrantMutex<T>(T);
62+
| ^^^^^^^^^^^^^^
63+
= note: required for `Rc<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>` to implement `RefUnwindSafe`
8664
note: required because it appears within the type `Lua`
8765
--> src/state.rs
8866
|

tests/compile/non_send.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ error[E0277]: `Rc<Cell<i32>>` cannot be sent between threads safely
88
| | within this `{closure@$DIR/tests/compile/non_send.rs:11:25: 11:37}`
99
| required by a bound introduced by this call
1010
|
11-
= help: within `{closure@$DIR/tests/compile/non_send.rs:11:25: 11:37}`, the trait `Send` is not implemented for `Rc<Cell<i32>>`, which is required by `{closure@$DIR/tests/compile/non_send.rs:11:25: 11:37}: MaybeSend`
11+
= help: within `{closure@$DIR/tests/compile/non_send.rs:11:25: 11:37}`, the trait `Send` is not implemented for `Rc<Cell<i32>>`
1212
note: required because it's used within this closure
1313
--> tests/compile/non_send.rs:11:25
1414
|

tests/compile/ref_nounwindsafe.stderr

Lines changed: 104 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
error[E0277]: the type `UnsafeCell<mlua::state::raw::RawLua>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
1+
error[E0277]: the type `UnsafeCell<usize>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
22
--> tests/compile/ref_nounwindsafe.rs:8:18
33
|
44
8 | catch_unwind(move || table.set("a", "b").unwrap());
5-
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<mlua::state::raw::RawLua>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
5+
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<usize>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
66
| |
77
| required by a bound introduced by this call
88
|
9-
= help: within `alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<mlua::state::raw::RawLua>`, which is required by `{closure@$DIR/tests/compile/ref_nounwindsafe.rs:8:18: 8:25}: UnwindSafe`
10-
note: required because it appears within the type `lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>`
11-
--> $CARGO/lock_api-0.4.12/src/remutex.rs
9+
= help: within `rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<usize>`
10+
note: required because it appears within the type `Cell<usize>`
11+
--> $RUST/core/src/cell.rs
1212
|
13-
| pub struct ReentrantMutex<R, G, T: ?Sized> {
14-
| ^^^^^^^^^^^^^^
15-
note: required because it appears within the type `alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
16-
--> $RUST/alloc/src/sync.rs
13+
| pub struct Cell<T: ?Sized> {
14+
| ^^^^
15+
note: required because it appears within the type `rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
16+
--> $RUST/alloc/src/rc.rs
1717
|
18-
| struct ArcInner<T: ?Sized> {
19-
| ^^^^^^^^
20-
= note: required for `NonNull<alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>>` to implement `UnwindSafe`
21-
note: required because it appears within the type `std::sync::Weak<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
22-
--> $RUST/alloc/src/sync.rs
18+
| struct RcInner<T: ?Sized> {
19+
| ^^^^^^^
20+
= note: required for `NonNull<rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>>` to implement `UnwindSafe`
21+
note: required because it appears within the type `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
22+
--> $RUST/alloc/src/rc.rs
2323
|
2424
| pub struct Weak<
2525
| ^^^^
26-
note: required because it appears within the type `mlua::state::WeakLua`
26+
note: required because it appears within the type `WeakLua`
2727
--> src/state.rs
2828
|
29-
| pub(crate) struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
30-
| ^^^^^^^
31-
note: required because it appears within the type `mlua::types::ValueRef`
32-
--> src/types.rs
29+
| pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
30+
| ^^^^^^^
31+
note: required because it appears within the type `mlua::types::value_ref::ValueRef`
32+
--> src/types/value_ref.rs
3333
|
34-
| pub(crate) struct ValueRef {
35-
| ^^^^^^^^
34+
| pub struct ValueRef {
35+
| ^^^^^^^^
3636
note: required because it appears within the type `LuaTable`
3737
--> src/table.rs
3838
|
@@ -49,51 +49,108 @@ note: required by a bound in `std::panic::catch_unwind`
4949
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
5050
| ^^^^^^^^^^ required by this bound in `catch_unwind`
5151

52-
error[E0277]: the type `UnsafeCell<usize>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
52+
error[E0277]: the type `UnsafeCell<*mut lua_State>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
5353
--> tests/compile/ref_nounwindsafe.rs:8:18
5454
|
5555
8 | catch_unwind(move || table.set("a", "b").unwrap());
56-
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<usize>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
56+
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<*mut lua_State>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
5757
| |
5858
| required by a bound introduced by this call
5959
|
60-
= help: within `alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<usize>`, which is required by `{closure@$DIR/tests/compile/ref_nounwindsafe.rs:8:18: 8:25}: UnwindSafe`
61-
note: required because it appears within the type `Cell<usize>`
60+
= help: within `rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`, the trait `RefUnwindSafe` is not implemented for `UnsafeCell<*mut lua_State>`
61+
note: required because it appears within the type `Cell<*mut lua_State>`
6262
--> $RUST/core/src/cell.rs
6363
|
6464
| pub struct Cell<T: ?Sized> {
6565
| ^^^^
66-
note: required because it appears within the type `lock_api::remutex::RawReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId>`
67-
--> $CARGO/lock_api-0.4.12/src/remutex.rs
66+
note: required because it appears within the type `mlua::state::raw::RawLua`
67+
--> src/state/raw.rs
68+
|
69+
| pub struct RawLua {
70+
| ^^^^^^
71+
note: required because it appears within the type `mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>`
72+
--> src/types/sync.rs
73+
|
74+
| pub(crate) struct ReentrantMutex<T>(T);
75+
| ^^^^^^^^^^^^^^
76+
note: required because it appears within the type `rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
77+
--> $RUST/alloc/src/rc.rs
78+
|
79+
| struct RcInner<T: ?Sized> {
80+
| ^^^^^^^
81+
= note: required for `NonNull<rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>>` to implement `UnwindSafe`
82+
note: required because it appears within the type `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
83+
--> $RUST/alloc/src/rc.rs
84+
|
85+
| pub struct Weak<
86+
| ^^^^
87+
note: required because it appears within the type `WeakLua`
88+
--> src/state.rs
89+
|
90+
| pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
91+
| ^^^^^^^
92+
note: required because it appears within the type `mlua::types::value_ref::ValueRef`
93+
--> src/types/value_ref.rs
94+
|
95+
| pub struct ValueRef {
96+
| ^^^^^^^^
97+
note: required because it appears within the type `LuaTable`
98+
--> src/table.rs
99+
|
100+
| pub struct Table(pub(crate) ValueRef);
101+
| ^^^^^
102+
note: required because it's used within this closure
103+
--> tests/compile/ref_nounwindsafe.rs:8:18
104+
|
105+
8 | catch_unwind(move || table.set("a", "b").unwrap());
106+
| ^^^^^^^
107+
note: required by a bound in `std::panic::catch_unwind`
108+
--> $RUST/std/src/panic.rs
109+
|
110+
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
111+
| ^^^^^^^^^^ required by this bound in `catch_unwind`
112+
113+
error[E0277]: the type `UnsafeCell<mlua::state::extra::ExtraData>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
114+
--> tests/compile/ref_nounwindsafe.rs:8:18
115+
|
116+
8 | catch_unwind(move || table.set("a", "b").unwrap());
117+
| ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `UnsafeCell<mlua::state::extra::ExtraData>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
118+
| |
119+
| required by a bound introduced by this call
120+
|
121+
= help: the trait `RefUnwindSafe` is not implemented for `UnsafeCell<mlua::state::extra::ExtraData>`
122+
= note: required for `Rc<UnsafeCell<mlua::state::extra::ExtraData>>` to implement `RefUnwindSafe`
123+
note: required because it appears within the type `mlua::state::raw::RawLua`
124+
--> src/state/raw.rs
68125
|
69-
| pub struct RawReentrantMutex<R, G> {
70-
| ^^^^^^^^^^^^^^^^^
71-
note: required because it appears within the type `lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>`
72-
--> $CARGO/lock_api-0.4.12/src/remutex.rs
126+
| pub struct RawLua {
127+
| ^^^^^^
128+
note: required because it appears within the type `mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>`
129+
--> src/types/sync.rs
73130
|
74-
| pub struct ReentrantMutex<R, G, T: ?Sized> {
75-
| ^^^^^^^^^^^^^^
76-
note: required because it appears within the type `alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
77-
--> $RUST/alloc/src/sync.rs
131+
| pub(crate) struct ReentrantMutex<T>(T);
132+
| ^^^^^^^^^^^^^^
133+
note: required because it appears within the type `rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
134+
--> $RUST/alloc/src/rc.rs
78135
|
79-
| struct ArcInner<T: ?Sized> {
80-
| ^^^^^^^^
81-
= note: required for `NonNull<alloc::sync::ArcInner<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>>` to implement `UnwindSafe`
82-
note: required because it appears within the type `std::sync::Weak<lock_api::remutex::ReentrantMutex<parking_lot::raw_mutex::RawMutex, parking_lot::remutex::RawThreadId, mlua::state::raw::RawLua>>`
83-
--> $RUST/alloc/src/sync.rs
136+
| struct RcInner<T: ?Sized> {
137+
| ^^^^^^^
138+
= note: required for `NonNull<rc::RcInner<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>>` to implement `UnwindSafe`
139+
note: required because it appears within the type `std::rc::Weak<mlua::types::sync::inner::ReentrantMutex<mlua::state::raw::RawLua>>`
140+
--> $RUST/alloc/src/rc.rs
84141
|
85142
| pub struct Weak<
86143
| ^^^^
87-
note: required because it appears within the type `mlua::state::WeakLua`
144+
note: required because it appears within the type `WeakLua`
88145
--> src/state.rs
89146
|
90-
| pub(crate) struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
91-
| ^^^^^^^
92-
note: required because it appears within the type `mlua::types::ValueRef`
93-
--> src/types.rs
147+
| pub struct WeakLua(XWeak<ReentrantMutex<RawLua>>);
148+
| ^^^^^^^
149+
note: required because it appears within the type `mlua::types::value_ref::ValueRef`
150+
--> src/types/value_ref.rs
94151
|
95-
| pub(crate) struct ValueRef {
96-
| ^^^^^^^^
152+
| pub struct ValueRef {
153+
| ^^^^^^^^
97154
note: required because it appears within the type `LuaTable`
98155
--> src/table.rs
99156
|

0 commit comments

Comments
 (0)