0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-27 17:49:12 -05:00
denoland-rusty-v8/tests/compile_fail/object_without_context_scope.stderr

9 lines
348 B
Text
Raw Normal View History

error[E0308]: mismatched types
2021-10-27 08:32:12 -04:00
--> $DIR/object_without_context_scope.rs:6:33
|
2021-10-27 08:32:12 -04:00
6 | let _object = v8::Object::new(&mut scope);
| ^^^^^^^^^^ expected struct `v8::Context`, found `()`
|
2020-11-19 13:44:06 -05:00
= note: expected mutable reference `&mut HandleScope<'_>`
found mutable reference `&mut HandleScope<'_, ()>`