diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/isolate.rs | 2 | ||||
-rw-r--r-- | core/lib.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/isolate.rs b/core/isolate.rs index 7386aad14..de269e500 100644 --- a/core/isolate.rs +++ b/core/isolate.rs @@ -715,7 +715,7 @@ impl Isolate { #[allow(dead_code)] pub fn run_microtasks(&mut self) { let isolate = self.isolate_.as_mut().unwrap(); - let mut locker = v8::Locker::new(isolate); + let _locker = v8::Locker::new(isolate); isolate.enter(); isolate.run_microtasks(); isolate.exit(); diff --git a/core/lib.rs b/core/lib.rs index 20f3dba86..021ede9cc 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -1,4 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. +#![deny(warnings)] + #[macro_use] extern crate log; extern crate futures; |