0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2025-03-10 05:56:52 -04:00
rusty-v8/tests/compile_fail/handle_scope_escape_to_nowhere.stderr

22 lines
1.1 KiB
Text
Raw Normal View History

2021-10-27 14:32:12 +02:00
error[E0277]: the trait bound `OwnedIsolate: v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
--> $DIR/handle_scope_escape_to_nowhere.rs:5:50
2021-09-10 19:32:29 +09:00
|
2021-10-27 14:32:12 +02:00
5 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
2021-12-14 21:07:56 -08:00
| ----------------------------- ^^^^^^^^^^^^ the trait `v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
| |
| required by a bound introduced by this call
2021-09-10 19:32:29 +09:00
|
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 {
| |__________________^
2021-10-27 14:32:12 +02:00
error[E0277]: the trait bound `OwnedIsolate: v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
--> $DIR/handle_scope_escape_to_nowhere.rs:5:20
|
2021-10-27 14:32:12 +02:00
5 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`