diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 186cf22..1603f88 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,8 +68,8 @@ jobs: - name: Run compile tests (macos lua53) if: ${{ matrix.os == 'macos-latest' && matrix.lua == 'lua53' }} run: | - cargo test --release --features "${{ matrix.lua }} vendored" -- --ignored - cargo test --release --features "${{ matrix.lua }} vendored async send" -- --ignored + TRYBUILD=overwrite cargo test --release --features "${{ matrix.lua }} vendored" -- --ignored + TRYBUILD=overwrite cargo test --release --features "${{ matrix.lua }} vendored async send" -- --ignored shell: bash test_luajit_macos: diff --git a/tests/compile/lua_norefunwindsafe.stderr b/tests/compile/lua_norefunwindsafe.stderr index 86ccd3c..97fd76f 100644 --- a/tests/compile/lua_norefunwindsafe.stderr +++ b/tests/compile/lua_norefunwindsafe.stderr @@ -4,7 +4,7 @@ error[E0277]: the type `std::cell::UnsafeCell<()>` may contain interior mutabili 7 | catch_unwind(|| lua.create_table().unwrap()); | ^^^^^^^^^^^^ `std::cell::UnsafeCell<()>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary | - ::: $RUST/src/libstd/panic.rs + ::: $RUST/std/src/panic.rs | | pub fn catch_unwind R + UnwindSafe, R>(f: F) -> Result { | ---------- required by this bound in `std::panic::catch_unwind` diff --git a/tests/compile/ref_nounwindsafe.stderr b/tests/compile/ref_nounwindsafe.stderr index ced38a5..6c3b5fc 100644 --- a/tests/compile/ref_nounwindsafe.stderr +++ b/tests/compile/ref_nounwindsafe.stderr @@ -4,7 +4,7 @@ error[E0277]: the type `std::cell::UnsafeCell<()>` may contain interior mutabili 8 | catch_unwind(move || table.set("a", "b").unwrap()); | ^^^^^^^^^^^^ `std::cell::UnsafeCell<()>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary | - ::: $RUST/src/libstd/panic.rs + ::: $RUST/std/src/panic.rs | | pub fn catch_unwind R + UnwindSafe, R>(f: F) -> Result { | ---------- required by this bound in `std::panic::catch_unwind`