2021-10-27 08:32:12 -04:00
|
|
|
error[E0277]: the trait bound `OwnedIsolate: v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
2022-03-02 07:00:58 -05:00
|
|
|
--> tests/compile_fail/handle_scope_escape_to_nowhere.rs:5:50
|
2021-09-10 06:32:29 -04:00
|
|
|
|
|
2021-10-27 08:32:12 -04:00
|
|
|
5 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
|
2021-12-15 00:07:56 -05:00
|
|
|
| ----------------------------- ^^^^^^^^^^^^ the trait `v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
|
|
|
|
| |
|
|
|
|
| required by a bound introduced by this call
|
2021-09-10 06:32:29 -04:00
|
|
|
|
|
2022-03-02 07:00:58 -05:00
|
|
|
note: required by a bound in `EscapableHandleScope::<'s, 'e>::new`
|
|
|
|
--> src/scope.rs
|
2021-09-10 06:32:29 -04:00
|
|
|
|
|
2022-03-02 07:00:58 -05:00
|
|
|
| pub fn new<P: param::NewEscapableHandleScope<'s, 'e>>(
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `EscapableHandleScope::<'s, 'e>::new`
|
2020-06-03 01:38:34 -04:00
|
|
|
|
2021-10-27 08:32:12 -04:00
|
|
|
error[E0277]: the trait bound `OwnedIsolate: v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
2022-03-02 07:00:58 -05:00
|
|
|
--> tests/compile_fail/handle_scope_escape_to_nowhere.rs:5:20
|
2020-06-03 01:38:34 -04:00
|
|
|
|
|
2021-10-27 08:32:12 -04:00
|
|
|
5 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
|