File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/tools/rust-analyzer/crates/hir-ty/src/layout/tests Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff 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: [
You can’t perform that action at this time.
0 commit comments