mirror of
https://github.com/denoland/rusty_v8.git
synced 2025-01-24 08:00:21 -05:00
9 lines
394 B
Text
9 lines
394 B
Text
|
error[E0308]: mismatched types
|
||
|
--> $DIR/object_without_context_scope.rs:7:33
|
||
|
|
|
||
|
7 | let _object = v8::Object::new(&mut scope);
|
||
|
| ^^^^^^^^^^ expected struct `rusty_v8::data::Context`, found `()`
|
||
|
|
|
||
|
= note: expected mutable reference `&mut rusty_v8::scope::HandleScope<'_>`
|
||
|
found mutable reference `&mut rusty_v8::scope::HandleScope<'_, ()>`
|