0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-26 00:59:28 -05:00
denoland-rusty-v8/tests/compile_fail/handle_scope_escape_to_nowhere.stderr

14 lines
926 B
Text
Raw Normal View History

2020-08-27 16:36:35 -04:00
error[E0277]: the trait bound `rusty_v8::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-08-27 16:36:35 -04:00
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::OwnedIsolate`
|
2020-08-27 16:36:35 -04:00
= note: required by `rusty_v8::EscapableHandleScope::<'s, 'e>::new`
2020-08-27 16:36:35 -04:00
error[E0277]: the trait bound `rusty_v8::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-08-27 16:36:35 -04:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::OwnedIsolate`