mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-27 01:29:19 -05:00
19 lines
1 KiB
Text
19 lines
1 KiB
Text
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 `OwnedIsolate`
|
|
|
|
|
note: required by `EscapableHandleScope::<'s, 'e>::new`
|
|
--> $DIR/scope.rs:303:3
|
|
|
|
|
303 | / pub fn new<P: param::NewEscapableHandleScope<'s, 'e>>(
|
|
304 | | param: &'s mut P,
|
|
305 | | ) -> P::NewScope {
|
|
| |__________________^
|
|
|
|
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 `OwnedIsolate`
|