0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-23 15:50:11 -05:00

build: upgrade Rust to 1.48.0 (#535)

This commit is contained in:
Bartek Iwańczuk 2020-11-19 19:44:06 +01:00 committed by GitHub
parent eb0222ce08
commit 2d68950e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -69,7 +69,7 @@ jobs:
uses: hecrj/setup-rust-action@v1
with:
components: clippy, rustfmt
rust-version: 1.47.0
rust-version: 1.48.0
- name: Install python
uses: actions/setup-python@v1

View file

@ -1,13 +1,13 @@
error[E0277]: the trait bound `rusty_v8::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
error[E0277]: the trait bound `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::OwnedIsolate`
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
|
= note: required by `rusty_v8::EscapableHandleScope::<'s, 'e>::new`
= note: required by `EscapableHandleScope::<'s, 'e>::new`
error[E0277]: the trait bound `rusty_v8::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
error[E0277]: the trait bound `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::OwnedIsolate`
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `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::EscapableHandleScope`
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `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::EscapableHandleScope`
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `EscapableHandleScope`

View file

@ -4,5 +4,5 @@ error[E0308]: mismatched types
7 | let _object = v8::Object::new(&mut scope);
| ^^^^^^^^^^ expected struct `rusty_v8::Context`, found `()`
|
= note: expected mutable reference `&mut rusty_v8::HandleScope<'_>`
found mutable reference `&mut rusty_v8::HandleScope<'_, ()>`
= note: expected mutable reference `&mut HandleScope<'_>`
found mutable reference `&mut HandleScope<'_, ()>`