Skip to content

Commit

Permalink
Note why this test is still run-pass, at least for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalathar committed Jan 24, 2025
1 parent 19c9ccd commit 5d60610
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
//! Under the Rust 2021 disjoint capture rules, this sort of non-capture can
//! occur when a place is only inspected by infallible non-binding patterns.
// FIXME(#135985): On its own, this test should probably just be check-pass.
// But there are few/no other tests that use non-binding array patterns and
// invoke the later parts of the compiler, so building/running has some value.

//@ run-pass
//@ edition:2021

Expand Down

0 comments on commit 5d60610

Please sign in to comment.