Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #21731 from rust-lang/rustc-pull
Rustc pull update
Laurențiu Nicola 7 weeks ago
parent 566fe41 · parent 1940931 · commit 3c4ae11
-rw-r--r--crates/base-db/src/lib.rs2
-rw-r--r--crates/hir-expand/src/builtin/fn_macro.rs5
-rw-r--r--crates/hir-ty/src/lower.rs3
-rw-r--r--crates/ide-assists/src/handlers/promote_local_to_const.rs2
-rw-r--r--crates/rust-analyzer/src/tracing/config.rs2
-rw-r--r--rust-version2
6 files changed, 6 insertions, 10 deletions
diff --git a/crates/base-db/src/lib.rs b/crates/base-db/src/lib.rs
index 24f6dd59a9..5baf4ce6f9 100644
--- a/crates/base-db/src/lib.rs
+++ b/crates/base-db/src/lib.rs
@@ -32,7 +32,7 @@ pub use crate::{
},
};
use dashmap::{DashMap, mapref::entry::Entry};
-pub use query_group::{self};
+pub use query_group;
use rustc_hash::{FxHashSet, FxHasher};
use salsa::{Durability, Setter};
pub use semver::{BuildMetadata, Prerelease, Version, VersionReq};
diff --git a/crates/hir-expand/src/builtin/fn_macro.rs b/crates/hir-expand/src/builtin/fn_macro.rs
index 3029bca1d5..949b22b0ad 100644
--- a/crates/hir-expand/src/builtin/fn_macro.rs
+++ b/crates/hir-expand/src/builtin/fn_macro.rs
@@ -5,10 +5,7 @@ use std::borrow::Cow;
use base_db::AnchoredPath;
use cfg::CfgExpr;
use either::Either;
-use intern::{
- Symbol,
- sym::{self},
-};
+use intern::{Symbol, sym};
use itertools::Itertools;
use mbe::{DelimiterKind, expect_fragment};
use span::{Edition, FileId, Span};
diff --git a/crates/hir-ty/src/lower.rs b/crates/hir-ty/src/lower.rs
index 1290874177..895c2e7846 100644
--- a/crates/hir-ty/src/lower.rs
+++ b/crates/hir-ty/src/lower.rs
@@ -40,8 +40,7 @@ use rustc_hash::FxHashSet;
use rustc_type_ir::{
AliasTyKind, BoundVarIndexKind, ConstKind, DebruijnIndex, ExistentialPredicate,
ExistentialProjection, ExistentialTraitRef, FnSig, Interner, OutlivesPredicate, TermKind,
- TyKind::{self},
- TypeFoldable, TypeVisitableExt, Upcast, UpcastFrom, elaborate,
+ TyKind, TypeFoldable, TypeVisitableExt, Upcast, UpcastFrom, elaborate,
inherent::{Clause as _, GenericArgs as _, IntoKind as _, Region as _, Ty as _},
};
use smallvec::SmallVec;
diff --git a/crates/ide-assists/src/handlers/promote_local_to_const.rs b/crates/ide-assists/src/handlers/promote_local_to_const.rs
index 547d3686e3..483c90d103 100644
--- a/crates/ide-assists/src/handlers/promote_local_to_const.rs
+++ b/crates/ide-assists/src/handlers/promote_local_to_const.rs
@@ -8,7 +8,7 @@ use syntax::{
use crate::{
assist_context::{AssistContext, Assists},
- utils::{self},
+ utils,
};
// Assist: promote_local_to_const
diff --git a/crates/rust-analyzer/src/tracing/config.rs b/crates/rust-analyzer/src/tracing/config.rs
index ca897aeb3e..2bc9f3c34a 100644
--- a/crates/rust-analyzer/src/tracing/config.rs
+++ b/crates/rust-analyzer/src/tracing/config.rs
@@ -1,7 +1,7 @@
//! Simple logger that logs either to stderr or to a file, using `tracing_subscriber`
//! filter syntax and `tracing_appender` for non blocking output.
-use std::io::{self};
+use std::io;
use anyhow::Context;
use tracing::level_filters::LevelFilter;
diff --git a/rust-version b/rust-version
index b6e1b2bc55..4dedd81b00 100644
--- a/rust-version
+++ b/rust-version
@@ -1 +1 @@
-c78a29473a68f07012904af11c92ecffa68fcc75
+e7d90c695a39426baf5ae705de2f9570a72229de