0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-11-25 15:29:43 -05:00
denoland-rusty-v8/tests/compile_fail/object_without_context_scope.stderr

9 lines
374 B
Text
Raw Normal View History

error[E0308]: mismatched types
--> $DIR/object_without_context_scope.rs:7:33
|
7 | let _object = v8::Object::new(&mut scope);
2020-08-27 16:36:35 -04:00
| ^^^^^^^^^^ expected struct `rusty_v8::Context`, found `()`
|
2020-08-27 16:36:35 -04:00
= note: expected mutable reference `&mut rusty_v8::HandleScope<'_>`
found mutable reference `&mut rusty_v8::HandleScope<'_, ()>`