From a2eb7e5739a6ba63ac23c4007c5109266ec64aef Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sun, 9 Aug 2020 20:53:02 +0700 Subject: [PATCH] fix unused --- crates/ra_ide/src/completion/complete_attribute.rs | 1 - xtask/src/codegen/gen_unstable_future_descriptor.rs | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/ra_ide/src/completion/complete_attribute.rs b/crates/ra_ide/src/completion/complete_attribute.rs index 089d806d8c..50b0b3ff68 100644 --- a/crates/ra_ide/src/completion/complete_attribute.rs +++ b/crates/ra_ide/src/completion/complete_attribute.rs @@ -9,7 +9,6 @@ use rustc_hash::FxHashSet; use crate::completion::{ completion_context::CompletionContext, completion_item::{CompletionItem, CompletionItemKind, CompletionKind, Completions}, - unstable_feature_descriptor }; use crate::completion::UNSTABLE_FEATURE_DESCRIPTOR; diff --git a/xtask/src/codegen/gen_unstable_future_descriptor.rs b/xtask/src/codegen/gen_unstable_future_descriptor.rs index 298696fbba..6dce8ba0ad 100644 --- a/xtask/src/codegen/gen_unstable_future_descriptor.rs +++ b/xtask/src/codegen/gen_unstable_future_descriptor.rs @@ -5,9 +5,8 @@ use crate::{ }; use std::process::Command; use std::fs; -use std::path::{Path, PathBuf}; -use walkdir::{DirEntry, WalkDir}; -use quote::{format_ident, quote}; +use walkdir::WalkDir; +use quote::quote; use crate::codegen::update; pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {