-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasper
Initial implementation of `#![feature(move_ref_pattern)]` Following up on #45600, under the gate `#![feature(move_ref_pattern)]`, `(ref x, mut y)` is allowed subject to restrictions necessary for soundness. The match checking implementation and tests for `#![feature(bindings_after_at)]` is also adjusted as necessary. Closes #45600. Tracking issue: #68354. r? @matthewjasper
- Loading branch information
Showing
58 changed files
with
2,833 additions
and
849 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
src/test/ui/bind-by-move/bind-by-move-neither-can-live-while-the-other-survives-2.rs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/test/ui/bind-by-move/bind-by-move-neither-can-live-while-the-other-survives-2.stderr
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
src/test/ui/bind-by-move/bind-by-move-neither-can-live-while-the-other-survives-3.rs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/test/ui/bind-by-move/bind-by-move-neither-can-live-while-the-other-survives-3.stderr
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
src/test/ui/bind-by-move/bind-by-move-neither-can-live-while-the-other-survives-4.rs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/test/ui/bind-by-move/bind-by-move-neither-can-live-while-the-other-survives-4.stderr
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.