From 29df272133425ed5d9c54a584c60193fb3ad6086 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Mon, 6 Jan 2020 11:38:56 -0500 Subject: error on warnings (#3612) --- cli/lib.rs | 2 ++ cli/ops/fs.rs | 1 + 2 files changed, 3 insertions(+) (limited to 'cli') diff --git a/cli/lib.rs b/cli/lib.rs index a1c608c44..f0df3f149 100644 --- a/cli/lib.rs +++ b/cli/lib.rs @@ -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] diff --git a/cli/ops/fs.rs b/cli/ops/fs.rs index f592c1142..df15e2c88 100644 --- a/cli/ops/fs.rs +++ b/cli/ops/fs.rs @@ -86,6 +86,7 @@ fn op_mkdir( struct ChmodArgs { promise_id: Option, path: String, + #[allow(unused)] mode: u32, } -- cgit v1.2.3