Skip to content

Commit 6a121d1

Browse files
committed
Merge from rust-lang/rust
2 parents 23fd5fb + f5efae8 commit 6a121d1

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/hir-ty/src/diagnostics/match_check/pat_analysis.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ use std::fmt;
44

55
use hir_def::{DefWithBodyId, EnumId, EnumVariantId, HasModule, LocalFieldId, ModuleId, VariantId};
66
use once_cell::unsync::Lazy;
7-
use rustc_index::IndexVec;
87
use rustc_pattern_analysis::{
98
constructor::{Constructor, ConstructorSet, VariantVisibility},
109
usefulness::{compute_match_usefulness, PlaceValidity, UsefulnessReport},
11-
Captures, PatCx, PrivateUninhabitedField,
10+
Captures, IndexVec, PatCx, PrivateUninhabitedField,
1211
};
1312
use smallvec::{smallvec, SmallVec};
1413
use stdx::never;
@@ -53,7 +52,7 @@ impl EnumVariantContiguousIndex {
5352
}
5453
}
5554

56-
impl rustc_index::Idx for EnumVariantContiguousIndex {
55+
impl rustc_pattern_analysis::Idx for EnumVariantContiguousIndex {
5756
fn new(idx: usize) -> Self {
5857
EnumVariantContiguousIndex(idx)
5958
}

crates/rust-analyzer/src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct VersionInfo {
1515
pub version: &'static str,
1616
/// The release channel we were built for (stable/beta/nightly/dev).
1717
///
18-
/// `None` if not built via rustbuild.
18+
/// `None` if not built via bootstrap.
1919
pub release_channel: Option<&'static str>,
2020
/// Information about the Git repository we may have been built from.
2121
///

0 commit comments

Comments
 (0)