0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-25 08:39:15 -05:00
denoland-rusty-v8/tests/compile_fail/handle_scope_escape_to_nowhere.stderr

14 lines
876 B
Text
Raw Normal View History

2020-11-19 13:44:06 -05:00
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);
2020-11-19 13:44:06 -05:00
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
|
2020-11-19 13:44:06 -05:00
= note: required by `EscapableHandleScope::<'s, 'e>::new`
2020-11-19 13:44:06 -05:00
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);
2020-11-19 13:44:06 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`