Skip to content

Commit 624761a

Browse files
authored
Merge pull request #21318 from rust-lang/rustc-pull
minor: Rustc pull update
2 parents 31d2019 + 0a5311a commit 624761a

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

crates/hir-ty/src/layout/tests/closure.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ fn capture_specific_fields() {
166166
*a + x + (*b as i64)
167167
}
168168
}
169+
// FIXME: These tests currently fail, because rust-analyzer hasn't yet implemented the changes
170+
// introduced in rust-lang/rust#138961. See rust-lang/rust-analyzer#21274 for more discussion.
171+
/*
169172
size_and_align_expr! {
170173
struct X(i64, i32, (u8, i128));
171174
let y: X = X(2, 5, (7, 3));
@@ -183,6 +186,7 @@ fn capture_specific_fields() {
183186
a + x + (b as i64)
184187
}
185188
}
189+
*/
186190
}
187191

188192
#[test]
@@ -194,6 +198,9 @@ fn match_pattern() {
194198
x
195199
}
196200
}
201+
// FIXME: These tests currently fail, because rust-analyzer hasn't yet implemented the changes
202+
// introduced in rust-lang/rust#138961. See rust-lang/rust-analyzer#21274 for more discussion.
203+
/*
197204
size_and_align_expr! {
198205
minicore: copy;
199206
stmts: [
@@ -206,6 +213,7 @@ fn match_pattern() {
206213
}
207214
}
208215
}
216+
*/
209217
size_and_align_expr! {
210218
minicore: copy;
211219
stmts: [

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0208ee09be465f69005a7a12c28d5eccac7d5f34
1+
f41f40408d719aa9ae0c6bfa17619d8f3f9e5b99

0 commit comments

Comments
 (0)