Update compile tests (temporary set TRYBUILD=overwrite)

This commit is contained in:
Alex Orlenko 2020-10-27 23:03:23 +00:00
parent a52135b62d
commit c8a7aa947c
3 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
| ---------- required by this bound in `std::panic::catch_unwind`

View File

@ -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<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
| ---------- required by this bound in `std::panic::catch_unwind`