From 12404c8cdaaf231f807a3570647599cc72b367ef Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Thu, 13 Dec 2018 12:36:14 +0100 Subject: [PATCH] Fix unused warnings --- src/actions/notifications.rs | 1 - src/build/rustc.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/actions/notifications.rs b/src/actions/notifications.rs index 2b18c5095ea..2ac3a73134b 100644 --- a/src/actions/notifications.rs +++ b/src/actions/notifications.rs @@ -15,7 +15,6 @@ use crate::Span; use log::{debug, trace, warn}; use rls_vfs::{Change, VfsSpan}; use serde::Deserialize; -use serde_json; use std::sync::atomic::Ordering; use crate::build::*; diff --git a/src/build/rustc.rs b/src/build/rustc.rs index b22396baed3..be3c52c688b 100644 --- a/src/build/rustc.rs +++ b/src/build/rustc.rs @@ -301,7 +301,6 @@ impl<'a> CompilerCalls<'a> for RlsRustcCalls { edition: match state.session.edition() { RustcEdition::Edition2015 => Edition::Edition2015, RustcEdition::Edition2018 => Edition::Edition2018, - _ => Edition::default(), }, }; let files = fetch_input_files(state.session);