0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-25 15:29:43 -05:00

ci: upgrade to Rust 1.46.0 (#443)

This commit is contained in:
Bert Belder 2020-08-27 22:36:35 +02:00
parent a4eb164639
commit fdc03238c4
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
5 changed files with 11 additions and 11 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -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<'_, ()>`