aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry <[email protected]>2020-08-09 14:53:02 +0100
committerDmitry <[email protected]>2020-08-09 15:03:42 +0100
commita2eb7e5739a6ba63ac23c4007c5109266ec64aef (patch)
treeeccfe2d91c7af2e2afc287c495f46e5cba93c24e
parent8068302fefc75440b823f4bf1731a5f347d7c767 (diff)
fix unused
-rw-r--r--crates/ra_ide/src/completion/complete_attribute.rs1
-rw-r--r--xtask/src/codegen/gen_unstable_future_descriptor.rs5
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 089d806d8..50b0b3ff6 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;
9use crate::completion::{ 9use crate::completion::{
10 completion_context::CompletionContext, 10 completion_context::CompletionContext,
11 completion_item::{CompletionItem, CompletionItemKind, CompletionKind, Completions}, 11 completion_item::{CompletionItem, CompletionItemKind, CompletionKind, Completions},
12 unstable_feature_descriptor
13}; 12};
14 13
15use crate::completion::UNSTABLE_FEATURE_DESCRIPTOR; 14use 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 298696fbb..6dce8ba0a 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::{
5}; 5};
6use std::process::Command; 6use std::process::Command;
7use std::fs; 7use std::fs;
8use std::path::{Path, PathBuf}; 8use walkdir::WalkDir;
9use walkdir::{DirEntry, WalkDir}; 9use quote::quote;
10use quote::{format_ident, quote};
11use crate::codegen::update; 10use crate::codegen::update;
12 11
13pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> { 12pub fn generate_unstable_future_descriptor(mode: Mode) -> Result<()> {