diff options
| author | dianne <diannes.gm@gmail.com> | 2025-01-21 02:07:32 -0800 |
|---|---|---|
| committer | dianne <diannes.gm@gmail.com> | 2025-01-21 05:17:22 -0800 |
| commit | 4ed44c9bd6608bb945bedf69b91dbaa6bdf0c6b7 (patch) | |
| tree | 28f230a69ad87c2e1ab544958ed9f131ecdae1e9 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp | |
| parent | afd976b2b0382a91fba18f946a6272512895456a (diff) | |
| download | rust-4ed44c9bd6608bb945bedf69b91dbaa6bdf0c6b7.tar.gz rust-4ed44c9bd6608bb945bedf69b91dbaa6bdf0c6b7.zip | |
add a stable edition 2021 revision to pattern typing tests
This serves two purposes. First, they're additional tests that stable Rust behavior hasn't been messed with. There's plenty of other pattern tests, so this is less important, but these at least are targeted at what's being changed. Second, this helps document exactly where the new rulesets agree and disagree with stable pattern typing. This will be especially important after the new rules for old editions are updated, since they need to be strictly more permissive; any patterns well-typed on stable should also be well-typed with the same resultant bindings on the (upcoming) new new old-edition rules. The unusual test ordering on `borrowck-errors.rs` and `ref-binding-on-inh-ref-errors.rs` are to hopefully reduce how much adding new tests will mess with line numbers in their stderr.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
