Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on warnings #3612

Merged
merged 2 commits into from
Jan 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cli/lib.rs
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
1 change: 1 addition & 0 deletions cli/ops/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ fn op_mkdir(
struct ChmodArgs {
promise_id: Option<u64>,
path: String,
#[allow(unused)]
mode: u32,
}

Expand Down
2 changes: 1 addition & 1 deletion core/isolate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions core/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 2 additions & 0 deletions deno_typescript/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down