diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-17 01:02:21 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-17 01:02:21 +0000 |
commit | 94f56ebccf2e558c178d2d73161fe78803b6f3e2 (patch) | |
tree | 91c90eebd7ac2db444bb0621b504b9a69953209a /crates/proc_macro_srv/src | |
parent | 4c4de19467780a085866278b8423108ef99d0d80 (diff) | |
parent | 3c922072aeb1f09eea85b1caf66bb0e6d2c5744b (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.rs | 3 |
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 | ||
11 | use crate::proc_macro::bridge::{self, server}; | 11 | use crate::proc_macro::bridge::{self, server}; |
12 | 12 | ||
13 | use std::collections::{Bound, HashMap}; | 13 | use std::collections::HashMap; |
14 | use std::hash::Hash; | 14 | use std::hash::Hash; |
15 | use std::iter::FromIterator; | 15 | use std::iter::FromIterator; |
16 | use std::ops::Bound; | ||
16 | use std::str::FromStr; | 17 | use std::str::FromStr; |
17 | use std::{ascii, vec::IntoIter}; | 18 | use std::{ascii, vec::IntoIter}; |
18 | 19 | ||