mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-28 16:21:04 -05:00
ci: upgrade to Rust 1.46.0 (#443)
This commit is contained in:
parent
a4eb164639
commit
fdc03238c4
5 changed files with 11 additions and 11 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -70,7 +70,7 @@ jobs:
|
|||
- name: Install rust
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
rust-version: 1.45.2
|
||||
rust-version: 1.46.0
|
||||
|
||||
- name: Install rust tools
|
||||
run: rustup component add clippy rustfmt
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
error[E0277]: the trait bound `rusty_v8::isolate::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
error[E0277]: the trait bound `rusty_v8::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
--> $DIR/handle_scope_escape_to_nowhere.rs:6:50
|
||||
|
|
||||
6 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
|
||||
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::isolate::OwnedIsolate`
|
||||
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::OwnedIsolate`
|
||||
|
|
||||
= note: required by `rusty_v8::scope::EscapableHandleScope::<'s, 'e>::new`
|
||||
= note: required by `rusty_v8::EscapableHandleScope::<'s, 'e>::new`
|
||||
|
||||
error[E0277]: the trait bound `rusty_v8::isolate::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
error[E0277]: the trait bound `rusty_v8::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
--> $DIR/handle_scope_escape_to_nowhere.rs:6:20
|
||||
|
|
||||
6 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::isolate::OwnedIsolate`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::OwnedIsolate`
|
||||
|
|
|
@ -6,4 +6,4 @@ error[E0499]: cannot borrow `scope1` as mutable more than once at a time
|
|||
8 | let _local = v8::Integer::new(&mut scope1, 123);
|
||||
| ^^^^^^^^^^^ second mutable borrow occurs here
|
||||
9 | }
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `rusty_v8::scope::EscapableHandleScope`
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `rusty_v8::EscapableHandleScope`
|
||||
|
|
|
@ -6,4 +6,4 @@ error[E0499]: cannot borrow `scope1` as mutable more than once at a time
|
|||
10 | v8::Integer::new(&mut scope1, 123)
|
||||
| ^^^^^^^^^^^ second mutable borrow occurs here
|
||||
11 | };
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `rusty_v8::scope::EscapableHandleScope`
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `rusty_v8::EscapableHandleScope`
|
||||
|
|
|
@ -2,7 +2,7 @@ error[E0308]: mismatched types
|
|||
--> $DIR/object_without_context_scope.rs:7:33
|
||||
|
|
||||
7 | let _object = v8::Object::new(&mut scope);
|
||||
| ^^^^^^^^^^ expected struct `rusty_v8::data::Context`, found `()`
|
||||
| ^^^^^^^^^^ expected struct `rusty_v8::Context`, found `()`
|
||||
|
|
||||
= note: expected mutable reference `&mut rusty_v8::scope::HandleScope<'_>`
|
||||
found mutable reference `&mut rusty_v8::scope::HandleScope<'_, ()>`
|
||||
= note: expected mutable reference `&mut rusty_v8::HandleScope<'_>`
|
||||
found mutable reference `&mut rusty_v8::HandleScope<'_, ()>`
|
||||
|
|
Loading…
Reference in a new issue