aboutsummaryrefslogtreecommitdiff
path: root/crates/proc_macro_srv/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-17 01:02:21 +0000
committerGitHub <[email protected]>2021-02-17 01:02:21 +0000
commit94f56ebccf2e558c178d2d73161fe78803b6f3e2 (patch)
tree91c90eebd7ac2db444bb0621b504b9a69953209a /crates/proc_macro_srv/src
parent4c4de19467780a085866278b8423108ef99d0d80 (diff)
parent3c922072aeb1f09eea85b1caf66bb0e6d2c5744b (diff)
Merge #7702
7702: Remove use of deprecated `std::collections::Bound` r=Veykril a=bstrie `std::collections::Bound` has been deprecated since Rust 1.26, but due to a bug (https://github.com/rust-lang/rust/issues/82080) it never triggered a visible deprecation warning. Fixing this is being done in https://github.com/rust-lang/rust/pull/82122 , but landing that requires rustc-analyzer to build without triggering any deprecation warnings (https://github.com/rust-lang-ci/rust/runs/1911884006#step:24:19361). Co-authored-by: bstrie <[email protected]>
Diffstat (limited to 'crates/proc_macro_srv/src')
-rw-r--r--crates/proc_macro_srv/src/rustc_server.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/proc_macro_srv/src/rustc_server.rs b/crates/proc_macro_srv/src/rustc_server.rs
index e6006a3c8..25606da60 100644
--- a/crates/proc_macro_srv/src/rustc_server.rs
+++ b/crates/proc_macro_srv/src/rustc_server.rs
@@ -10,9 +10,10 @@
10 10
11use crate::proc_macro::bridge::{self, server}; 11use crate::proc_macro::bridge::{self, server};
12 12
13use std::collections::{Bound, HashMap}; 13use std::collections::HashMap;
14use std::hash::Hash; 14use std::hash::Hash;
15use std::iter::FromIterator; 15use std::iter::FromIterator;
16use std::ops::Bound;
16use std::str::FromStr; 17use std::str::FromStr;
17use std::{ascii, vec::IntoIter}; 18use std::{ascii, vec::IntoIter};
18 19