mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
error on warnings (#3612)
This commit is contained in:
parent
870622d3cc
commit
29df272133
5 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||||
#![deny(warnings)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
#[macro_use]
|
||||
|
|
|
@ -86,6 +86,7 @@ fn op_mkdir(
|
|||
struct ChmodArgs {
|
||||
promise_id: Option<u64>,
|
||||
path: String,
|
||||
#[allow(unused)]
|
||||
mode: u32,
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
|
||||
#![deny(warnings)]
|
||||
|
||||
extern crate deno_core;
|
||||
extern crate serde;
|
||||
extern crate serde_json;
|
||||
|
|
Loading…
Reference in a new issue