Skip to content

Commit cf156a7

Browse files
committed
Auto merge of #17609 - lnicola:sync-from-rust, r=lnicola
minor: Sync from downstream
2 parents 41dcb2d + 6a121d1 commit cf156a7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
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
@@ -5,11 +5,10 @@ use std::fmt;
55
use hir_def::{DefWithBodyId, EnumId, EnumVariantId, HasModule, LocalFieldId, ModuleId, VariantId};
66
use intern::sym;
77
use once_cell::unsync::Lazy;
8-
use rustc_index::IndexVec;
98
use rustc_pattern_analysis::{
109
constructor::{Constructor, ConstructorSet, VariantVisibility},
1110
usefulness::{compute_match_usefulness, PlaceValidity, UsefulnessReport},
12-
Captures, PatCx, PrivateUninhabitedField,
11+
Captures, IndexVec, PatCx, PrivateUninhabitedField,
1312
};
1413
use smallvec::{smallvec, SmallVec};
1514
use stdx::never;
@@ -54,7 +53,7 @@ impl EnumVariantContiguousIndex {
5453
}
5554
}
5655

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

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
///

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bcf1f6db4594ae6132378b179a30cdb3599a863d
1+
a91f7d72f12efcc00ecf71591f066c534d45ddf7

0 commit comments

Comments
 (0)