0
0
Fork 0
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:
Ry Dahl 2020-01-06 11:38:56 -05:00 committed by GitHub
parent 870622d3cc
commit 29df272133
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 1 deletions

View file

@ -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]

View file

@ -86,6 +86,7 @@ fn op_mkdir(
struct ChmodArgs {
promise_id: Option<u64>,
path: String,
#[allow(unused)]
mode: u32,
}

View file

@ -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();

View file

@ -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;

View file

@ -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;