diff options
| author | Ry Dahl <ry@tinyclouds.org> | 2020-01-06 11:38:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-06 11:38:56 -0500 |
| commit | 29df272133425ed5d9c54a584c60193fb3ad6086 (patch) | |
| tree | dd681fc76365fd177ea40a28daac88defa9d298f /core | |
| parent | 870622d3ccb3589eeb72a439717edf7e40d9b093 (diff) | |
error on warnings (#3612)
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; |
