diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match.move index 57eb19253c4ad4..f6c21ddb768079 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_binder.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_binder.move index 40225faf995b5f..16ad19ab7455fb 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_binder.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_binder.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_mut_ref.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_mut_ref.move index a95721b69240de..ea5efd3f87ef73 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_mut_ref.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_mut_ref.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_no_drop.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_no_drop.move index 971164706dc45e..ff9c8f47e1e3b9 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_no_drop.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_no_drop.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_ref.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_ref.move index 06aecabd0f5a7b..5cdc6474848e56 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_ref.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_ref.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_twice.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_twice.move index f24e209f384865..4d6ecf936fb988 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_twice.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_twice.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_value_wildcard.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_value_wildcard.move index 9abe730e09b66f..946f0bb7307b68 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_value_wildcard.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/abc_match_value_wildcard.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_copy.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_copy.move index b637b53f33b439..6ec46933984ec3 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_copy.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_copy.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_drop.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_drop.move index dd831fdf795f0d..eb5e47f7e26e22 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_drop.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_drop.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_lit.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_lit.move index 625f2a97d1ece7..96cfa7e3353f24 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_lit.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_lit.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_reuse.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_reuse.move index 3be4a264747cdf..98ab88f4ed4371 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_reuse.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/at_pattern_reuse.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_1.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_1.move index c416dc54aab1c7..314c0d8799db3f 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_1.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_1.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_2.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_2.move index 91eaa7eb020c40..28ff26ad1234ba 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_2.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bad_guard_2.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/basic.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/basic.move index 570a452173237d..5fbe2d9cc48f12 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/basic.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/basic.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bind_subject.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bind_subject.move index e38a250c9d9813..392d7a3328370b 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bind_subject.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/bind_subject.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_at.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_at.move index 3b138dd939ea63..b6197a36507ed5 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_at.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_at.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_in_guard.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_in_guard.move index 7d2338bf0114db..e093c41fe6058b 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_in_guard.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_in_guard.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_matching.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_matching.move index 060022faab6794..79059c3fe70cab 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_matching.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_matching.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_mut_guard.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_mut_guard.move index dd3e6f4fc73846..99d242c535e3d8 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_mut_guard.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_mut_guard.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_pair.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_pair.move index b372c9a97d078a..ddc31189aed590 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_pair.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_pair.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_result.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_result.move index e3dcc23adfcd14..f9cca7104b6997 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_result.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_result.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_self.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_self.move index 5fb63acf7577d4..6a99aa4ea90b60 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_self.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/const_self.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/drop_ref.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/drop_ref.move index 5aa6485a3b90ce..b1f4dafcb51939 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/drop_ref.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/drop_ref.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_no_tyargs_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_no_tyargs_match.move index bb22319a14b924..32a792645670bf 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_no_tyargs_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_no_tyargs_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_poly_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_poly_match.move index 80013362e7e836..7ade215546aa92 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_poly_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/enum_poly_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/exhaustive_struct.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/exhaustive_struct.move index c848f639928138..af64a64aaac911 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/exhaustive_struct.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/exhaustive_struct.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/fib.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/fib.move index ea4dc345b06617..36aa84aef310c2 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/fib.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/fib.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard.move index 9adf31e197ddb4..8b1032a4216976 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack.move index b726c3ad2e818a..849ededf2ed542 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_2.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_2.move index 4ab2b7b38da999..942eac1a2de3bb 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_2.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_2.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_3.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_3.move index d87257ac4bed2c..d5047a575076a7 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_3.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_3.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_4.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_4.move index 3fdd7e90c6bc32..c7fcceb4b6cd32 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_4.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_4.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_5.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_5.move index 9d3942bcdb0c2a..259a131c3659cd 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_5.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/guard_backtrack_5.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_match.move index f93abfce548c47..fb65b857948c94 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_mut_borrow_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_mut_borrow_match.move index 43f3e3ca815efd..5c5d95bc03b682 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_mut_borrow_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/lit_mut_borrow_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/macro_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/macro_match.move index 5724ea1aea4b9b..d8a0ebbf5d9a77 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/macro_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/macro_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_mut_lit.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_mut_lit.move index 0133c6fd24e5ab..6564b09f1d6003 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_mut_lit.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_mut_lit.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_type.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_type.move index 44d3b72401fae0..1aff72942f2f03 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_type.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/match_type.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/multi_or.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/multi_or.move index 3fbf7f674bb4a1..eae0b3d8685552 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/multi_or.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/multi_or.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_at.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_at.move index 0b7ea6f0cec6f2..4d186f6a1e9c4f 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_at.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_at.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_bindings.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_bindings.move index ef507926070504..91d9f5bfad44f0 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_bindings.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_bindings.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_either_borrow.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_either_borrow.move index cea34bacedf50b..e3685123292ddc 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_either_borrow.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/nested_either_borrow.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_default.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_default.move index cf685e041b441b..ed1fcc5985d654 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_default.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_default.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_enum_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_enum_match.move index 4aacd81a23cb99..4643b427b5b6cc 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_enum_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/option_enum_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match.move index 4db08b9b550eea..040340eda919e1 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match_mut.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match_mut.move index 863ec02ca4a4dd..679ca07a12180b 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match_mut.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_match_mut.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named.move index e8286fd47545f4..f041a135c82138 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named_value.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named_value.move index 21f649782e2cdb..1ed8de56b92193 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named_value.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/struct_named_value.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/tuple_specialize.move b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/tuple_specialize.move index 130f0959abc353..5feb3c6ea534c6 100644 --- a/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/tuple_specialize.move +++ b/external-crates/move/crates/move-compiler-transactional-tests/tests/matching/tuple_specialize.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler/src/editions/mod.rs b/external-crates/move/crates/move-compiler/src/editions/mod.rs index fa640067489bbc..e4e5047a9f0b74 100644 --- a/external-crates/move/crates/move-compiler/src/editions/mod.rs +++ b/external-crates/move/crates/move-compiler/src/editions/mod.rs @@ -132,7 +132,7 @@ pub fn valid_editions_for_feature(feature: FeatureGate) -> Vec { static SUPPORTED_FEATURES: Lazy>> = Lazy::new(|| BTreeMap::from_iter(Edition::ALL.iter().map(|e| (*e, e.features())))); -const E2024_ALPHA_FEATURES: &[FeatureGate] = &[]; +const E2024_ALPHA_FEATURES: &[FeatureGate] = &[FeatureGate::Enums]; const E2024_BETA_FEATURES: &[FeatureGate] = &[ FeatureGate::NestedUse, @@ -154,7 +154,7 @@ const E2024_BETA_FEATURES: &[FeatureGate] = &[ FeatureGate::CleverAssertions, ]; -const DEVELOPMENT_FEATURES: &[FeatureGate] = &[FeatureGate::Enums]; +const DEVELOPMENT_FEATURES: &[FeatureGate] = &[]; const E2024_MIGRATION_FEATURES: &[FeatureGate] = &[FeatureGate::Move2024Migration]; diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/assign_non_simple_name.exp b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/assign_non_simple_name.exp deleted file mode 100644 index 65970e4ee34267..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/assign_non_simple_name.exp +++ /dev/null @@ -1,126 +0,0 @@ -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:2:5 - │ -2 │ struct S {} - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -error[E02001]: duplicate declaration, item, or annotation - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:6:23 - │ -5 │ use 0x42::X; - │ - Alias previously defined here -6 │ use 0x42::X::S as X; - │ ^ Duplicate module member or alias 'X'. Top level names in a namespace must be unique - -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:8:5 - │ -8 │ struct R {} - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:9:5 - │ -9 │ struct S { f: T } - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:15:9 - │ -15 │ X::S = (); - │ ^^^^ Unexpected assignment of variant - │ - = If you are trying to unpack an enum variant, use 'match' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:16:9 - │ -16 │ Self::S = (); - │ ^^^^^^^^^^^^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'Self::S {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:17:9 - │ -17 │ Self::R = (); - │ ^^^^^^^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'Self::R {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:21:9 - │ -21 │ 0x42::X::S = (); - │ ^^^^^^^^^^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'0x42::X::S {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:22:9 - │ -22 │ 0x42::M::S = (); - │ ^^^^^^^^^^^^^^^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'0x42::M::S {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:23:9 - │ -23 │ 0x42::M::R = (); - │ ^^^^^^^^^^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'0x42::M::R {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:27:9 - │ -27 │ x = (); - │ ^^^^^^ Unexpected assignment of instantiated type without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'x {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:28:9 - │ -28 │ S = (); - │ ^^^^^^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'S {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:32:9 - │ -32 │ X = (); - │ ^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'X {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:33:9 - │ -33 │ S = (); - │ ^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'S {}' - -error[E01009]: invalid assignment - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:34:9 - │ -34 │ R = (); - │ ^ Unexpected assignment of module access without fields - │ - = If you are trying to unpack a struct, try adding fields, e.g.'R {}' - -error[E03009]: unbound variable - ┌─ tests/development/enums/expansion/assign_non_simple_name.move:38:9 - │ -38 │ Y = 0; - │ ^ Invalid assignment. Unbound variable 'Y' - diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/assign_non_simple_name.move b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/assign_non_simple_name.move deleted file mode 100644 index 3466d89a8eabd3..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/assign_non_simple_name.move +++ /dev/null @@ -1,40 +0,0 @@ -module 0x42::X { - struct S {} -} -module 0x42::M { - use 0x42::X; - use 0x42::X::S as X; - - struct R {} - struct S { f: T } - - - fun t() { - // Assign to qualified name - // should fail in non spec context - X::S = (); - Self::S = (); - Self::R = (); - - // Assign to fully qualified name - // should fail in non spec context - 0x42::X::S = (); - 0x42::M::S = (); - 0x42::M::R = (); - - // Assign to name with type args, qualified/nonqualified/struct doesnt matter - // should fail in non spec context - x = (); - S = (); - - // Assign to a name that is aliased in local context - // should fail in non spec context - X = (); - S = (); - R = (); - - // Assign to a name that starts with A-Z - // Should fail with unbound local even though it is not a valid local name - Y = 0; - } -} diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.exp b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.exp deleted file mode 100644 index e4d10850b7f468..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.exp +++ /dev/null @@ -1,9 +0,0 @@ -error[E03006]: unexpected name in this position - ┌─ tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.move:15:13 - │ -15 │ S::foo(); // resolves to struct - │ ^ - │ │ - │ Invalid construction. Expected an enum - │ But 'S' is a struct - diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.move b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.move deleted file mode 100644 index 64e654af9b3c1a..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/constants_dont_shadow_leading_access_struct.move +++ /dev/null @@ -1,19 +0,0 @@ -// module member aliases do not shadow leading access names -module a::S { - public struct S() has copy, drop; - public fun foo() {} -} - -module a::with_struct { - const S: u64 = 0; - const X: u64 = 0; - - fun t(): u64 { - use a::S::S; - { - use a::with_struct::X as S; - S::foo(); // resolves to struct - S // resolves to constant - } - } -} diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/missing_mutable_bind_or_pat.exp b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/missing_mutable_bind_or_pat.exp deleted file mode 100644 index 6045c2411147d7..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/missing_mutable_bind_or_pat.exp +++ /dev/null @@ -1,20 +0,0 @@ -error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/missing_mutable_bind_or_pat.move:9:22 - │ -9 │ X::A(mut x) | X::B(_, _) => { - │ ^ ---------- right or-pattern does not - │ │ - │ left or-pattern binds variable x - │ - = Both sides of an or-pattern must bind the same variables. - -error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/missing_mutable_bind_or_pat.move:18:32 - │ -18 │ X::A(_) | X::B(mut x, _) => { - │ ------- ^ right or-pattern binds variable x - │ │ - │ left or-pattern does not - │ - = Both sides of an or-pattern must bind the same variables. - diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_nested_self_as_invalid.exp b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_nested_self_as_invalid.exp deleted file mode 100644 index da9f04541fe1bc..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_nested_self_as_invalid.exp +++ /dev/null @@ -1,41 +0,0 @@ -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/use_nested_self_as_invalid.move:2:5 - │ -2 │ struct S {} - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -warning[W09001]: unused alias - ┌─ tests/development/enums/expansion/use_nested_self_as_invalid.move:7:26 - │ -7 │ use 0x2::X::{Self as B, foo, S}; - │ ^ Unused 'use' of alias 'B'. Consider removing it - │ - = This warning can be suppressed with '#[allow(unused_use)]' applied to the 'module' or module member ('const', 'fun', or 'struct') - -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/use_nested_self_as_invalid.move:9:5 - │ -9 │ struct X { f: X::S, f2: S } - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -error[E03006]: unexpected name in this position - ┌─ tests/development/enums/expansion/use_nested_self_as_invalid.move:9:19 - │ -9 │ struct X { f: X::S, f2: S } - │ ^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type - │ - = Variants may not be used as types. Use the enum instead. - -error[E03006]: unexpected name in this position - ┌─ tests/development/enums/expansion/use_nested_self_as_invalid.move:11:9 - │ -11 │ X::foo(); - │ ^ - │ │ - │ Invalid construction. Expected an enum - │ But 'X' is a struct - diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_nested_self_as_invalid.move b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_nested_self_as_invalid.move deleted file mode 100644 index 585ad4b2fb3194..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_nested_self_as_invalid.move +++ /dev/null @@ -1,14 +0,0 @@ -module 0x2::X { - struct S {} - public fun foo() {} -} - -module 0x2::M { - use 0x2::X::{Self as B, foo, S}; - - struct X { f: X::S, f2: S } - fun bar() { - X::foo(); - foo() - } -} diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_struct_overlap_with_module.exp b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_struct_overlap_with_module.exp deleted file mode 100644 index 60793a27a4f8d4..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_struct_overlap_with_module.exp +++ /dev/null @@ -1,32 +0,0 @@ -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/use_struct_overlap_with_module.move:2:5 - │ -2 │ struct S {} - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -error[E02001]: duplicate declaration, item, or annotation - ┌─ tests/development/enums/expansion/use_struct_overlap_with_module.move:6:29 - │ -6 │ use 0x2::X::{Self, S as X}; - │ ---- ^ Duplicate module member or alias 'X'. Top level names in a namespace must be unique - │ │ - │ Alias previously defined here - -error[E01003]: invalid modifier - ┌─ tests/development/enums/expansion/use_struct_overlap_with_module.move:7:5 - │ -7 │ struct A { f1: X, f2: X::S } - │ ^^^^^^ Invalid struct declaration. Internal struct declarations are not yet supported - │ - = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. - -error[E03006]: unexpected name in this position - ┌─ tests/development/enums/expansion/use_struct_overlap_with_module.move:7:27 - │ -7 │ struct A { f1: X, f2: X::S } - │ ^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type - │ - = Variants may not be used as types. Use the enum instead. - diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_struct_overlap_with_module.move b/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_struct_overlap_with_module.move deleted file mode 100644 index 92d4a79c28ac4e..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/use_struct_overlap_with_module.move +++ /dev/null @@ -1,8 +0,0 @@ -module 0x2::X { - struct S {} -} - -module 0x2::M { - use 0x2::X::{Self, S as X}; - struct A { f1: X, f2: X::S } -} diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/mut_match.exp b/external-crates/move/crates/move-compiler/tests/development/enums/parser/mut_match.exp deleted file mode 100644 index 426569a77a823b..00000000000000 --- a/external-crates/move/crates/move-compiler/tests/development/enums/parser/mut_match.exp +++ /dev/null @@ -1,10 +0,0 @@ -warning[W09012]: unused 'mut' modifiers - ┌─ tests/development/enums/parser/mut_match.move:11:30 - │ -11 │ Option::Other { mut x } => x, - │ --- ^ The variable 'x' is never used mutably - │ │ - │ Consider removing the 'mut' declaration here - │ - = This warning can be suppressed with '#[allow(unused_let_mut)]' applied to the 'module' or module member ('const', 'fun', or 'struct') - diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/ambiguous_attribute_value_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/ambiguous_attribute_value_invalid.exp index e665a6a04f511c..8b85b7a867aef2 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/ambiguous_attribute_value_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/ambiguous_attribute_value_invalid.exp @@ -4,9 +4,3 @@ error[E10008]: ambiguous attribute value 7 │ #[ext(attr = foo)] │ ^^^ Ambiguous attribute value. It can resolve to both a module member and a module -error[E03006]: unexpected name in this position - ┌─ tests/move_2024/expansion/ambiguous_attribute_value_invalid.move:12:18 - │ -12 │ #[ext(attr = S::x)] - │ ^ Expected a module or address in this position, not a module member - diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/assign_non_simple_name.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/assign_non_simple_name.exp index 91ed20ef4eb4c9..c415543466ef5b 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/assign_non_simple_name.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/assign_non_simple_name.exp @@ -30,11 +30,13 @@ error[E01003]: invalid modifier │ = Visibility annotations are required on struct declarations from the Move 2024 edition onwards. -error[E03006]: unexpected name in this position +error[E01009]: invalid assignment ┌─ tests/move_2024/expansion/assign_non_simple_name.move:15:9 │ 15 │ X::S = (); - │ ^ Expected a module or address in this position, not a module member + │ ^^^^ Unexpected assignment of variant + │ + = If you are trying to unpack an enum variant, use 'match' error[E01009]: invalid assignment ┌─ tests/move_2024/expansion/assign_non_simple_name.move:16:9 diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/constants_dont_shadow_leading_access_struct.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/constants_dont_shadow_leading_access_struct.exp index 99926e256deb62..96999c17cb732b 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/constants_dont_shadow_leading_access_struct.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/constants_dont_shadow_leading_access_struct.exp @@ -2,5 +2,8 @@ error[E03006]: unexpected name in this position ┌─ tests/move_2024/expansion/constants_dont_shadow_leading_access_struct.move:15:13 │ 15 │ S::foo(); // resolves to struct - │ ^ Expected a module or address in this position, not a module member + │ ^ + │ │ + │ Invalid construction. Expected an enum + │ But 'S' is a struct diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/invalid_tyargs.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/invalid_tyargs.exp similarity index 77% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/invalid_tyargs.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/invalid_tyargs.exp index 0c2e7345ed2c56..f076a8da44b129 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/invalid_tyargs.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/invalid_tyargs.exp @@ -1,5 +1,5 @@ error[E03018]: invalid type parameter - ┌─ tests/development/enums/expansion/invalid_tyargs.move:10:27 + ┌─ tests/move_2024/expansion/invalid_tyargs.move:10:27 │ 10 │ Maybe::Nothing => (), │ ^^^^^ Cannot use type parameters on an enum variant @@ -7,7 +7,7 @@ error[E03018]: invalid type parameter = Type arguments are used with the enum, as '0x42::a::Maybe::Nothing' error[E02010]: invalid name - ┌─ tests/development/enums/expansion/invalid_tyargs.move:11:13 + ┌─ tests/move_2024/expansion/invalid_tyargs.move:11:13 │ 11 │ _x => (), │ ^^ Invalid type arguments on a pattern variable @@ -15,7 +15,7 @@ error[E02010]: invalid name = Type arguments cannot appear on pattern variables error[E03018]: invalid type parameter - ┌─ tests/development/enums/expansion/invalid_tyargs.move:12:24 + ┌─ tests/move_2024/expansion/invalid_tyargs.move:12:24 │ 12 │ Maybe::Just(_) => (), │ ^^^^^ Cannot use type parameters on an enum variant diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/invalid_tyargs.move b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/invalid_tyargs.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/invalid_tyargs.move rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/invalid_tyargs.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/missing_mutable_bind_or_pat.move b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/missing_mutable_bind_or_pat.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/missing_mutable_bind_or_pat.move rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/missing_mutable_bind_or_pat.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/or_pat_mutability_mismatch.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/or_pat_mutability_mismatch.exp similarity index 81% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/or_pat_mutability_mismatch.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/or_pat_mutability_mismatch.exp index 838690b01b162b..96fc89b2872e9c 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/or_pat_mutability_mismatch.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/or_pat_mutability_mismatch.exp @@ -1,5 +1,5 @@ error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/or_pat_mutability_mismatch.move:9:18 + ┌─ tests/move_2024/expansion/or_pat_mutability_mismatch.move:9:18 │ 9 │ X::A(mut x) | X::B(x, _) => { │ ^^^ ---------- right or-pattern binds it immutably @@ -9,7 +9,7 @@ error[E03019]: invalid pattern = Both sides of an or-pattern must bind the same variables with the same mutability. error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/or_pat_mutability_mismatch.move:18:28 + ┌─ tests/move_2024/expansion/or_pat_mutability_mismatch.move:18:28 │ 18 │ X::A(x) | X::B(mut x, _) => { │ - ^^^ right or-pattern binds variable x mutably diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/or_pat_mutability_mismatch.move b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/or_pat_mutability_mismatch.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/or_pat_mutability_mismatch.move rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/or_pat_mutability_mismatch.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis.move b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis.move rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis_invalid.exp similarity index 80% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis_invalid.exp index d382a4018bce1a..9f55cb2cfaf535 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis_invalid.exp @@ -1,5 +1,5 @@ error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:10:20 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:10:20 │ 10 │ X::A { .., .. } => 0, │ ^^ -- Ellipsis pattern used again here @@ -9,7 +9,7 @@ error[E03019]: invalid pattern = An ellipsis pattern can only appear once in a constructor's pattern. error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:11:20 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:11:20 │ 11 │ X::B { .., .., .. } => 0, │ ^^ -- -- Ellipsis pattern used again here @@ -20,7 +20,7 @@ error[E03019]: invalid pattern = An ellipsis pattern can only appear once in a constructor's pattern. error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:12:20 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:12:20 │ 12 │ X::B { .., .., x} => x, │ ^^ -- Ellipsis pattern used again here @@ -30,7 +30,7 @@ error[E03019]: invalid pattern = An ellipsis pattern can only appear once in a constructor's pattern. error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:13:20 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:13:20 │ 13 │ X::B { .., x, .. } => x, │ ^^ -- Ellipsis pattern used again here @@ -40,7 +40,7 @@ error[E03019]: invalid pattern = An ellipsis pattern can only appear once in a constructor's pattern. error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:14:18 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:14:18 │ 14 │ X::C(.., x, ..) => 1, │ ^^ -- Ellipsis pattern used again here @@ -50,7 +50,7 @@ error[E03019]: invalid pattern = An ellipsis pattern can only appear once in a constructor's pattern. warning[W09002]: unused variable - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:14:22 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:14:22 │ 14 │ X::C(.., x, ..) => 1, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -58,7 +58,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E03019]: invalid pattern - ┌─ tests/development/enums/expansion/pattern_ellipsis_invalid.move:15:18 + ┌─ tests/move_2024/expansion/pattern_ellipsis_invalid.move:15:18 │ 15 │ X::C(.., ..) => 1, │ ^^ -- Ellipsis pattern used again here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/expansion/pattern_ellipsis_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/expansion/pattern_ellipsis_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_nested_self_as_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_nested_self_as_invalid.exp index cb7e540bcd2bd0..c5742e3e3aca5b 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_nested_self_as_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_nested_self_as_invalid.exp @@ -26,11 +26,16 @@ error[E03006]: unexpected name in this position ┌─ tests/move_2024/expansion/use_nested_self_as_invalid.move:9:19 │ 9 │ struct X { f: X::S, f2: S } - │ ^ Expected a module or address in this position, not a module member + │ ^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type + │ + = Variants may not be used as types. Use the enum instead. error[E03006]: unexpected name in this position ┌─ tests/move_2024/expansion/use_nested_self_as_invalid.move:11:9 │ 11 │ X::foo(); - │ ^ Expected a module or address in this position, not a module member + │ ^ + │ │ + │ Invalid construction. Expected an enum + │ But 'X' is a struct diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_struct_overlap_with_module.exp b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_struct_overlap_with_module.exp index 1bcfabf8aa2c3c..44d88801fde951 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_struct_overlap_with_module.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/expansion/use_struct_overlap_with_module.exp @@ -26,5 +26,7 @@ error[E03006]: unexpected name in this position ┌─ tests/move_2024/expansion/use_struct_overlap_with_module.move:7:27 │ 7 │ struct A { f1: X, f2: X::S } - │ ^ Expected a module or address in this position, not a module member + │ ^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type + │ + = Variants may not be used as types. Use the enum instead. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/hlir/dead_code_guard.exp b/external-crates/move/crates/move-compiler/tests/move_2024/hlir/dead_code_guard.exp similarity index 84% rename from external-crates/move/crates/move-compiler/tests/development/enums/hlir/dead_code_guard.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/hlir/dead_code_guard.exp index 5521516b9328b8..8c389f2236cdf5 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/hlir/dead_code_guard.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/hlir/dead_code_guard.exp @@ -1,5 +1,5 @@ warning[W09005]: dead or unreachable code - ┌─ tests/development/enums/hlir/dead_code_guard.move:14:30 + ┌─ tests/move_2024/hlir/dead_code_guard.move:14:30 │ 14 │ _ if ({return 0; true}) => 1, │ ^^^^ Unreachable code. This statement (and any following statements) will not be executed. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/hlir/dead_code_guard.move b/external-crates/move/crates/move-compiler/tests/move_2024/hlir/dead_code_guard.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/hlir/dead_code_guard.move rename to external-crates/move/crates/move-compiler/tests/move_2024/hlir/dead_code_guard.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_binder.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_binder.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_binder.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_binder.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_invalid_param.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_invalid_param.exp similarity index 70% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_invalid_param.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_invalid_param.exp index 2e153324f227d4..5baf799f5d565b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_invalid_param.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_invalid_param.exp @@ -1,5 +1,5 @@ error[E03008]: too few type arguments - ┌─ tests/development/enums/matching/abc_match_invalid_param.move:9:17 + ┌─ tests/move_2024/matching/abc_match_invalid_param.move:9:17 │ 9 │ fun t0(abc: ABC): u64 { │ ^^^ Invalid instantiation of '0x42::m::ABC'. Expected 1 type argument(s) but got 0 diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_invalid_param.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_invalid_param.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_invalid_param.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_invalid_param.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_mut_ref.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_mut_ref.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_mut_ref.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_mut_ref.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop_invalid.exp similarity index 89% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop_invalid.exp index b1cbb27136f889..520d5c9c2a6467 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop_invalid.exp @@ -1,5 +1,5 @@ error[E06001]: unused value without 'drop' - ┌─ tests/development/enums/matching/abc_match_no_drop_invalid.move:10:27 + ┌─ tests/move_2024/matching/abc_match_no_drop_invalid.move:10:27 │ 3 │ public enum ABC { │ --- To satisfy the constraint, the 'drop' ability would need to be added here @@ -16,7 +16,7 @@ error[E06001]: unused value without 'drop' │ ╰─────────' The match expression takes ownership of this value but does not use it. The value does not have the 'drop' ability and must be consumed before the function returns error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/matching/abc_match_no_drop_invalid.move:13:13 + ┌─ tests/move_2024/matching/abc_match_no_drop_invalid.move:13:13 │ 3 │ public enum ABC { │ --- To satisfy the constraint, the 'drop' ability would need to be added here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_no_drop_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_no_drop_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref_invalid.exp similarity index 80% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref_invalid.exp index a327d2eaaa58ba..bd7bc68a9ed26a 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref_invalid.exp @@ -1,11 +1,11 @@ error[E03008]: too few type arguments - ┌─ tests/development/enums/matching/abc_match_ref_invalid.move:9:18 + ┌─ tests/move_2024/matching/abc_match_ref_invalid.move:9:18 │ 9 │ fun t0(abc: &ABC): u64 { │ ^^^ Invalid instantiation of '0x42::m::ABC'. Expected 1 type argument(s) but got 0 error[E04007]: incompatible types - ┌─ tests/development/enums/matching/abc_match_ref_invalid.move:10:9 + ┌─ tests/move_2024/matching/abc_match_ref_invalid.move:10:9 │ 9 │ fun t0(abc: &ABC): u64 { │ --- Expected: 'u64' @@ -18,7 +18,7 @@ error[E04007]: incompatible types │ ╰─────────^ Invalid return expression error[E04007]: incompatible types - ┌─ tests/development/enums/matching/abc_match_ref_invalid.move:13:23 + ┌─ tests/move_2024/matching/abc_match_ref_invalid.move:13:23 │ 11 │ ABC::C(x) => x, │ --------- Expected: '&_' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_ref_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_ref_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_twice.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_twice.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_twice.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_twice.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_value_wildcard.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_value_wildcard.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/abc_match_value_wildcard.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/abc_match_value_wildcard.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_drop.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_drop.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_drop.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_drop.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy_invalid.exp similarity index 87% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy_invalid.exp index 236e825163fbb3..905f76d0e41df1 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy_invalid.exp @@ -1,5 +1,5 @@ error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/matching/at_pattern_copy_invalid.move:10:13 + ┌─ tests/move_2024/matching/at_pattern_copy_invalid.move:10:13 │ 3 │ public enum Maybe has drop { │ ----- To satisfy the constraint, the 'copy' ability would need to be added here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_copy_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_copy_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_drop.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_drop.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_drop.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_drop.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_lit.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_lit.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_lit.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_lit.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_reuse.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_reuse.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_pattern_reuse.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_pattern_reuse.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns.exp similarity index 79% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns.exp index 860726d5ff2708..a74e87dd713c0d 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns.exp @@ -1,17 +1,17 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/at_patterns.move:30:16 + ┌─ tests/move_2024/matching/at_patterns.move:30:16 │ 30 │ match (x) { │ ^ Pattern 'Maybe::Just(_)' not covered error[E01002]: unexpected token - ┌─ tests/development/enums/matching/at_patterns.move:31:13 + ┌─ tests/move_2024/matching/at_patterns.move:31:13 │ 31 │ _ @ Maybe::Just(_) => other, │ ^ Cannot use '_' as a binder in an '@' pattern warning[W09002]: unused variable - ┌─ tests/development/enums/matching/at_patterns.move:38:14 + ┌─ tests/move_2024/matching/at_patterns.move:38:14 │ 38 │ (x @ Maybe::Nothing) | (x @ Maybe::Just(_)) => other, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -19,7 +19,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') warning[W09002]: unused variable - ┌─ tests/development/enums/matching/at_patterns.move:38:37 + ┌─ tests/move_2024/matching/at_patterns.move:38:37 │ 38 │ (x @ Maybe::Nothing) | (x @ Maybe::Just(_)) => other, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_mut_ref.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_mut_ref.exp similarity index 77% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_mut_ref.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_mut_ref.exp index 2bb7b4c0b7a350..f6f01b4d4d2624 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_mut_ref.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_mut_ref.exp @@ -1,17 +1,17 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/at_patterns_mut_ref.move:30:16 + ┌─ tests/move_2024/matching/at_patterns_mut_ref.move:30:16 │ 30 │ match (x) { │ ^ Pattern 'Maybe::Just(_)' not covered error[E01002]: unexpected token - ┌─ tests/development/enums/matching/at_patterns_mut_ref.move:31:13 + ┌─ tests/move_2024/matching/at_patterns_mut_ref.move:31:13 │ 31 │ _ @ Maybe::Just(_) => other, │ ^ Cannot use '_' as a binder in an '@' pattern warning[W09002]: unused variable - ┌─ tests/development/enums/matching/at_patterns_mut_ref.move:38:14 + ┌─ tests/move_2024/matching/at_patterns_mut_ref.move:38:14 │ 38 │ (x @ Maybe::Nothing) | (x @ Maybe::Just(_)) => other, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -19,7 +19,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') warning[W09002]: unused variable - ┌─ tests/development/enums/matching/at_patterns_mut_ref.move:38:37 + ┌─ tests/move_2024/matching/at_patterns_mut_ref.move:38:37 │ 38 │ (x @ Maybe::Nothing) | (x @ Maybe::Just(_)) => other, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_mut_ref.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_mut_ref.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_mut_ref.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_mut_ref.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_ref.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_ref.exp similarity index 78% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_ref.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_ref.exp index 39b3736403707c..cf0cea474c5f27 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_ref.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_ref.exp @@ -1,17 +1,17 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/at_patterns_ref.move:30:16 + ┌─ tests/move_2024/matching/at_patterns_ref.move:30:16 │ 30 │ match (x) { │ ^ Pattern 'Maybe::Just(_)' not covered error[E01002]: unexpected token - ┌─ tests/development/enums/matching/at_patterns_ref.move:31:13 + ┌─ tests/move_2024/matching/at_patterns_ref.move:31:13 │ 31 │ _ @ Maybe::Just(_) => other, │ ^ Cannot use '_' as a binder in an '@' pattern warning[W09002]: unused variable - ┌─ tests/development/enums/matching/at_patterns_ref.move:38:14 + ┌─ tests/move_2024/matching/at_patterns_ref.move:38:14 │ 38 │ (x @ Maybe::Nothing) | (x @ Maybe::Just(_)) => other, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -19,7 +19,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') warning[W09002]: unused variable - ┌─ tests/development/enums/matching/at_patterns_ref.move:38:37 + ┌─ tests/move_2024/matching/at_patterns_ref.move:38:37 │ 38 │ (x @ Maybe::Nothing) | (x @ Maybe::Just(_)) => other, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_ref.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_ref.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/at_patterns_ref.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/at_patterns_ref.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_1.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_1.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_1.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_1.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_3.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_3.exp similarity index 84% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_3.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_3.exp index 0a54ddd1f6e3d1..72259a755c30dd 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_3.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_3.exp @@ -1,5 +1,5 @@ error[E07003]: invalid operation, could create dangling a reference - ┌─ tests/development/enums/matching/bad_guard_3.move:16:20 + ┌─ tests/move_2024/matching/bad_guard_3.move:16:20 │ 14 │ match (o) { │ - It is still being mutably borrowed by this reference diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_3.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_3.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_3.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_3.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_4.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_4.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_4.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_4.exp index fb9e161ffb12e9..729ac54efd2415 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_4.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_4.exp @@ -1,5 +1,5 @@ error[E04006]: invalid subtype - ┌─ tests/development/enums/matching/bad_guard_4.move:16:21 + ┌─ tests/move_2024/matching/bad_guard_4.move:16:21 │ 16 │ x if ({*x = Option::Some(1); false}) => 1, │ - ^ @@ -9,7 +9,7 @@ error[E04006]: invalid subtype │ Given: '&0x42::m::Option<{integer}>' warning[W09002]: unused variable - ┌─ tests/development/enums/matching/bad_guard_4.move:18:13 + ┌─ tests/move_2024/matching/bad_guard_4.move:18:13 │ 18 │ x => 10, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_4.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_4.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bad_guard_4.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bad_guard_4.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bind_subject.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bind_subject.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bind_subject.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bind_subject.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/bool_const_exhaustive.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/bool_const_exhaustive.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/bool_const_exhaustive.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/bool_const_exhaustive.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_at.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_at.move similarity index 91% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_at.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_at.move index 3b138dd939ea63..b6197a36507ed5 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_at.move +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_at.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_in_guard.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_in_guard.move similarity index 91% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_in_guard.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_in_guard.move index 7d2338bf0114db..e093c41fe6058b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_in_guard.move +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_in_guard.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_matching.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_matching.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_matching.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_matching.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_mut_guard.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_mut_guard.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_mut_guard.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_mut_guard.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_opt_result.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_opt_result.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_opt_result.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_opt_result.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_pair.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_pair.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_pair.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_pair.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_result.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_result.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_result.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_result.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_self.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_self.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_self.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_self.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_visibility.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_visibility.exp similarity index 79% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_visibility.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_visibility.exp index 0418589b3195f7..0a4d646b1c2032 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_visibility.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_visibility.exp @@ -1,5 +1,5 @@ error[E04001]: restricted visibility - ┌─ tests/development/enums/matching/const_visibility.move:13:13 + ┌─ tests/move_2024/matching/const_visibility.move:13:13 │ 3 │ const Z: u64 = 0; │ - Constants are internal to their module, and cannot can be accessed outside of their module diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/const_visibility.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/const_visibility.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/const_visibility.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/const_visibility.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_ctor.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_ctor.exp similarity index 66% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_ctor.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_ctor.exp index 33ec07251e486f..dba95a5a47304b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_ctor.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_ctor.exp @@ -1,17 +1,17 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_ctor.move:9:16 + ┌─ tests/move_2024/matching/counterexample_ctor.move:9:16 │ 9 │ match (Option::Some(0)) { │ ^^^^^^^^^^^^^^^ Pattern 'Option::None' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_ctor.move:15:16 + ┌─ tests/move_2024/matching/counterexample_ctor.move:15:16 │ 15 │ match (opt) { │ ^^^ Pattern 'Option::Some(Option::Some(_))' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_ctor.move:22:16 + ┌─ tests/move_2024/matching/counterexample_ctor.move:22:16 │ 22 │ match (opt) { │ ^^^ Pattern 'Option::None' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_ctor.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_ctor.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_ctor.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_ctor.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_guards.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_guards.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_guards.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_guards.exp index 7153b4d72ab8ec..f559190145cf65 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_guards.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_guards.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_guards.move:9:16 + ┌─ tests/move_2024/matching/counterexample_guards.move:9:16 │ 9 │ match (Option::Some(0)) { │ ^^^^^^^^^^^^^^^ Pattern 'Option::Some(_)' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_guards.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_guards.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_guards.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_guards.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits.exp index 046c63c6bf988c..33652a7db1c08b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits.move:8:16 + ┌─ tests/move_2024/matching/counterexample_lits.move:8:16 │ 8 │ match (Tuple2::Ctor(0, 1)) { │ ^^^^^^^^^^^^^^^^^^ Pattern 'Tuple2::Ctor(_0, _)' not covered @@ -7,7 +7,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits.move:20:16 + ┌─ tests/move_2024/matching/counterexample_lits.move:20:16 │ 20 │ match (tup) { │ ^^^ Pattern 'Tuple2::Ctor(Tuple2::Ctor(_0, _), _)' not covered @@ -15,19 +15,19 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 1 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits.move:26:16 + ┌─ tests/move_2024/matching/counterexample_lits.move:26:16 │ 26 │ match (tup) { │ ^^^ Pattern 'Tuple2::Ctor(false, _)' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits.move:32:16 + ┌─ tests/move_2024/matching/counterexample_lits.move:32:16 │ 32 │ match (tup) { │ ^^^ Pattern 'Tuple2::Ctor(false, false)' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits.move:48:16 + ┌─ tests/move_2024/matching/counterexample_lits.move:48:16 │ 48 │ match (Tuple2::Ctor(0, 1)) { │ ^^^^^^^^^^^^^^^^^^ Pattern 'Tuple2::Ctor(_0, _)' not covered @@ -35,7 +35,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 or 3 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits.move:55:16 + ┌─ tests/move_2024/matching/counterexample_lits.move:55:16 │ 55 │ match (Tuple2::Ctor(0, 1)) { │ ^^^^^^^^^^^^^^^^^^ Pattern 'Tuple2::Ctor(_0, _)' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits_long.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits_long.exp similarity index 69% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits_long.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits_long.exp index bbb83c9e224467..a81b8aff143a98 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits_long.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits_long.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_lits_long.move:4:16 + ┌─ tests/move_2024/matching/counterexample_lits_long.move:4:16 │ 4 │ match (x) { │ ^ Pattern '_0' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits_long.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits_long.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_lits_long.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_lits_long.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_named_ctor.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_named_ctor.exp similarity index 68% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_named_ctor.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_named_ctor.exp index 07e1badd18a51d..70e25828939047 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_named_ctor.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_named_ctor.exp @@ -1,23 +1,23 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_named_ctor.move:9:16 + ┌─ tests/move_2024/matching/counterexample_named_ctor.move:9:16 │ 9 │ match (Option::Some { value: 0 }) { │ ^^^^^^^^^^^^^^^^^^^^^^^^^ Pattern 'Option::None' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_named_ctor.move:15:16 + ┌─ tests/move_2024/matching/counterexample_named_ctor.move:15:16 │ 15 │ match (opt) { │ ^^^ Pattern 'Option::Some { value: Option::Some { value: _ } }' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_named_ctor.move:22:16 + ┌─ tests/move_2024/matching/counterexample_named_ctor.move:22:16 │ 22 │ match (opt) { │ ^^^ Pattern 'Option::None' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_named_ctor.move:32:16 + ┌─ tests/move_2024/matching/counterexample_named_ctor.move:32:16 │ 32 │ match (pair) { │ ^^^^ Pattern 'Pair::P { one: _, two: _0 }' not covered @@ -25,7 +25,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_named_ctor.move:38:16 + ┌─ tests/move_2024/matching/counterexample_named_ctor.move:38:16 │ 38 │ match (pair) { │ ^^^^ Pattern 'Pair::P { one: _, two: _0 }' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_named_ctor.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_named_ctor.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_named_ctor.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_named_ctor.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_named.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_named.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_named.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_named.exp index 43ffc3f2f84eab..60540043ee3a6b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_named.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_named.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_named.move:6:16 + ┌─ tests/move_2024/matching/counterexample_struct_named.move:6:16 │ 6 │ match (NTuple2 { fst: 0, snd: 1 }) { │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ Pattern 'NTuple2 { fst: _0, snd: _ }' not covered @@ -7,7 +7,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_named.move:12:16 + ┌─ tests/move_2024/matching/counterexample_struct_named.move:12:16 │ 12 │ match (NTuple2 { fst: 0, snd: 1 }) { │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ Pattern 'NTuple2 { fst: _0, snd: _ }' not covered @@ -15,7 +15,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 or 3 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_named.move:19:16 + ┌─ tests/move_2024/matching/counterexample_struct_named.move:19:16 │ 19 │ match (tup) { │ ^^^ Pattern 'NTuple2 { fst: NTuple2 { fst: _0, snd: _ }, snd: _ }' not covered @@ -23,19 +23,19 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 1 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_named.move:25:16 + ┌─ tests/move_2024/matching/counterexample_struct_named.move:25:16 │ 25 │ match (tup) { │ ^^^ Pattern 'NTuple2 { fst: false, snd: _ }' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_named.move:31:16 + ┌─ tests/move_2024/matching/counterexample_struct_named.move:31:16 │ 31 │ match (tup) { │ ^^^ Pattern 'NTuple2 { fst: false, snd: false }' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_named.move:38:16 + ┌─ tests/move_2024/matching/counterexample_struct_named.move:38:16 │ 38 │ match (NTuple2 { fst: 0, snd: 1 }) { │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ Pattern 'NTuple2 { fst: _0, snd: _ }' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_named.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_named.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_named.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_named.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_positional.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_positional.exp similarity index 66% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_positional.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_positional.exp index e03c0d81a3bebd..5c32ccaa7cfde7 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_positional.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_positional.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_positional.move:6:16 + ┌─ tests/move_2024/matching/counterexample_struct_positional.move:6:16 │ 6 │ match (PTuple2(0, 1)) { │ ^^^^^^^^^^^^^ Pattern 'PTuple2(_0, _)' not covered @@ -7,7 +7,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_positional.move:12:16 + ┌─ tests/move_2024/matching/counterexample_struct_positional.move:12:16 │ 12 │ match (PTuple2(0, 1)) { │ ^^^^^^^^^^^^^ Pattern 'PTuple2(_0, _)' not covered @@ -15,7 +15,7 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 0 or 3 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_positional.move:19:16 + ┌─ tests/move_2024/matching/counterexample_struct_positional.move:19:16 │ 19 │ match (tup) { │ ^^^ Pattern 'PTuple2(PTuple2(_0, _), _)' not covered @@ -23,19 +23,19 @@ error[E04036]: non-exhaustive pattern = When '_0' is not 1 error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_positional.move:25:16 + ┌─ tests/move_2024/matching/counterexample_struct_positional.move:25:16 │ 25 │ match (tup) { │ ^^^ Pattern 'PTuple2(false, _)' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_positional.move:31:16 + ┌─ tests/move_2024/matching/counterexample_struct_positional.move:31:16 │ 31 │ match (tup) { │ ^^^ Pattern 'PTuple2(false, false)' not covered error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/counterexample_struct_positional.move:38:16 + ┌─ tests/move_2024/matching/counterexample_struct_positional.move:38:16 │ 38 │ match (PTuple2(0, 1)) { │ ^^^^^^^^^^^^^ Pattern 'PTuple2(_0, _)' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_positional.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_positional.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/counterexample_struct_positional.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/counterexample_struct_positional.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/drop_ref.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/drop_ref.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/drop_ref.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/drop_ref.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/duplicate_defns.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/duplicate_defns.exp similarity index 81% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/duplicate_defns.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/duplicate_defns.exp index fccd5799098cfb..460e58d0a43c04 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/duplicate_defns.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/duplicate_defns.exp @@ -1,5 +1,5 @@ error[E02001]: duplicate declaration, item, or annotation - ┌─ tests/development/enums/matching/duplicate_defns.move:9:17 + ┌─ tests/move_2024/matching/duplicate_defns.move:9:17 │ 2 │ public enum X { │ - Alias previously defined here @@ -8,7 +8,7 @@ error[E02001]: duplicate declaration, item, or annotation │ ^ Duplicate module member or alias 'X'. Top level names in a namespace must be unique error[E02001]: duplicate declaration, item, or annotation - ┌─ tests/development/enums/matching/duplicate_defns.move:14:19 + ┌─ tests/move_2024/matching/duplicate_defns.move:14:19 │ 9 │ public enum X { │ - Alias previously defined here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/duplicate_defns.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/duplicate_defns.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/duplicate_defns.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/duplicate_defns.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/empty_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/empty_match.exp similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/empty_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/empty_match.exp diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_no_tyargs_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_no_tyargs_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_no_tyargs_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_no_tyargs_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_poly_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_poly_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_poly_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_poly_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_visibility.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_visibility.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_visibility.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_visibility.exp index 879a77a11476b2..a26279eebf48bf 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_visibility.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_visibility.exp @@ -1,5 +1,5 @@ error[E04001]: restricted visibility - ┌─ tests/development/enums/matching/enum_visibility.move:15:13 + ┌─ tests/move_2024/matching/enum_visibility.move:15:13 │ 15 │ m::E::A(t) => t, │ ^^^^^^^^^^ Invalid pattern for '0x42::m::E::A'. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_visibility.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_visibility.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/enum_visibility.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/enum_visibility.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/exhaustive_struct.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/exhaustive_struct.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/exhaustive_struct.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/exhaustive_struct.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/fib.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/fib.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/fib.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/fib.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_3.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_3.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_3.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_3.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_4.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_4.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_4.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_4.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_5.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_5.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_backtrack_5.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_backtrack_5.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_binders.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_binders.exp similarity index 80% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_binders.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_binders.exp index 9db649d2d13eba..6732ccedba5fd1 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_binders.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_binders.exp @@ -1,5 +1,5 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_binders.move:19:32 + ┌─ tests/move_2024/matching/guard_binders.move:19:32 │ 19 │ Option::Some(n) if n == &5 => *n, │ ^ @@ -8,7 +8,7 @@ error[E01002]: unexpected token │ Expected '(' error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_binders.move:28:32 + ┌─ tests/move_2024/matching/guard_binders.move:28:32 │ 28 │ Option::Some(n) if n == &5 => *n, │ ^ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_binders.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_binders.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_binders.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_binders.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_copy.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_copy.exp similarity index 82% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_copy.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_copy.exp index 25f8a9322f5434..d4906ab7138354 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_copy.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_copy.exp @@ -1,5 +1,5 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_copy.move:17:32 + ┌─ tests/move_2024/matching/guard_copy.move:17:32 │ 17 │ Option::Some(n) if check_s(copy n) => n, │ ^^^^^^^ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_copy.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_copy.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_copy.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_copy.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_invalid_copy.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_invalid_copy.exp similarity index 80% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_invalid_copy.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_invalid_copy.exp index 889d4cd73b60aa..d3a6cb34dbd940 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_invalid_copy.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_invalid_copy.exp @@ -1,5 +1,5 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_invalid_copy.move:17:32 + ┌─ tests/move_2024/matching/guard_invalid_copy.move:17:32 │ 17 │ Option::Some(n) if check_s(n) => n, │ ^^^^^^^ @@ -8,7 +8,7 @@ error[E01002]: unexpected token │ Expected '(' error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_invalid_copy.move:26:32 + ┌─ tests/move_2024/matching/guard_invalid_copy.move:26:32 │ 26 │ Option::Some(n) if check_s(copy n) => n, │ ^^^^^^^ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_invalid_copy.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_invalid_copy.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_invalid_copy.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_invalid_copy.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_ref.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_ref.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_ref.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_ref.exp index 91456def270757..a1eb116432ea04 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_ref.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_ref.exp @@ -1,5 +1,5 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_ref.move:16:32 + ┌─ tests/move_2024/matching/guard_ref.move:16:32 │ 16 │ Option::Some(n) if check_imm_ref_s(n) => n, │ ^^^^^^^^^^^^^^^ @@ -8,7 +8,7 @@ error[E01002]: unexpected token │ Expected '(' error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_ref.move:28:32 + ┌─ tests/move_2024/matching/guard_ref.move:28:32 │ 28 │ Option::Some(n) if check_mut_ref_s(n) => n, │ ^^^^^^^^^^^^^^^ @@ -17,7 +17,7 @@ error[E01002]: unexpected token │ Expected '(' error[E01002]: unexpected token - ┌─ tests/development/enums/matching/guard_ref.move:36:32 + ┌─ tests/move_2024/matching/guard_ref.move:36:32 │ 36 │ Option::Some(n) if check_mut_ref_s(n) => n, │ ^^^^^^^^^^^^^^^ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_ref.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_ref.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/guard_ref.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/guard_ref.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/haskell_maybe.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/haskell_maybe.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/haskell_maybe.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/haskell_maybe.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/incr_in_container.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/incr_in_container.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/incr_in_container.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/incr_in_container.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_at.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_at.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_at.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_at.exp index fb841370ea9800..69267491a6ecbb 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_at.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_at.exp @@ -1,5 +1,5 @@ error[E01018]: invalid 'match' - ┌─ tests/development/enums/matching/invalid_at.move:8:9 + ┌─ tests/move_2024/matching/invalid_at.move:8:9 │ 8 │ ╭ match (opt) { 9 │ │ _ @ Option::Some(128u8) => (), @@ -7,7 +7,7 @@ error[E01018]: invalid 'match' │ ╰─────────^ Invalid 'match' form. 'match' must have at least one arm error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_at.move:9:13 + ┌─ tests/move_2024/matching/invalid_at.move:9:13 │ 9 │ _ @ Option::Some(128u8) => (), │ ^ Cannot use '_' as a binder in an '@' pattern diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_at.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_at.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_at.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_at.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_binding_var.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_binding_var.exp similarity index 74% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_binding_var.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_binding_var.exp index c0c039ae41bb7e..4dfded963ff8c6 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_binding_var.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_binding_var.exp @@ -1,11 +1,11 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_binding_var.move:8:16 + ┌─ tests/move_2024/matching/invalid_binding_var.move:8:16 │ 8 │ match (opt) { │ ^^^ Pattern 'Option::Some(_)' not covered error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_binding_var.move:9:26 + ┌─ tests/move_2024/matching/invalid_binding_var.move:9:26 │ 9 │ Option::Some(Hello) => (), │ ^^^^^ Invalid pattern variable name 'Hello'. Pattern variable names must start with 'a'..'z' or '_' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_binding_var.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_binding_var.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_binding_var.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_binding_var.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_bool_const_exhasutive.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_bool_const_exhasutive.exp similarity index 69% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_bool_const_exhasutive.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_bool_const_exhasutive.exp index 9c48d94862f775..836ed9b7f52bb5 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_bool_const_exhasutive.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_bool_const_exhasutive.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_bool_const_exhasutive.move:7:16 + ┌─ tests/move_2024/matching/invalid_bool_const_exhasutive.move:7:16 │ 7 │ match (b) { │ ^ Pattern '_' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_bool_const_exhasutive.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_bool_const_exhasutive.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_bool_const_exhasutive.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_bool_const_exhasutive.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_match_type.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_match_type.exp similarity index 74% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_match_type.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_match_type.exp index c9eb14dc06f782..7cd183457849dc 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_match_type.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_match_type.exp @@ -1,5 +1,5 @@ error[E04007]: incompatible types - ┌─ tests/development/enums/matching/invalid_const_match_type.move:9:17 + ┌─ tests/move_2024/matching/invalid_const_match_type.move:9:17 │ 3 │ const Z8: u8 = 0; │ -- Given: 'u8' @@ -11,7 +11,7 @@ error[E04007]: incompatible types │ ^ Invalid pattern field type error[E03009]: unbound variable - ┌─ tests/development/enums/matching/invalid_const_match_type.move:9:28 + ┌─ tests/move_2024/matching/invalid_const_match_type.move:9:28 │ 9 │ S { n: Z8 } => n, │ ^ Unbound variable 'n' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_match_type.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_match_type.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_match_type.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_match_type.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_mut.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_mut.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_mut.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_mut.exp index b6fa9a970732d8..cedc0b6d48e2c2 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_mut.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_mut.exp @@ -1,5 +1,5 @@ error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_const_mut.move:9:26 + ┌─ tests/move_2024/matching/invalid_const_mut.move:9:26 │ 9 │ Box { value: mut ZERO } => ZERO, │ ^^^ ---- Expected a valid 'enum' variant, 'struct', or 'const', not a variable @@ -7,7 +7,7 @@ error[E02010]: invalid name │ 'mut' can only be used with variable bindings in patterns error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/matching/invalid_const_mut.move:10:13 + ┌─ tests/move_2024/matching/invalid_const_mut.move:10:13 │ 5 │ public struct Box { value: u64 } │ --- To satisfy the constraint, the 'drop' ability would need to be added here @@ -19,7 +19,7 @@ error[E05001]: ability constraint not satisfied │ ^ Cannot ignore values without the 'drop' ability. '_' patterns discard their values error[E02001]: duplicate declaration, item, or annotation - ┌─ tests/development/enums/matching/invalid_const_mut.move:14:16 + ┌─ tests/move_2024/matching/invalid_const_mut.move:14:16 │ 7 │ public fun test(b: Box): u64 { │ ---- Alias previously defined here @@ -28,7 +28,7 @@ error[E02001]: duplicate declaration, item, or annotation │ ^^^^ Duplicate module member or alias 'test'. Top level names in a namespace must be unique error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_const_mut.move:16:26 + ┌─ tests/move_2024/matching/invalid_const_mut.move:16:26 │ 16 │ Box { value: mut ZERO } => ZERO, │ ^^^ ---- Expected a valid 'enum' variant, 'struct', or 'const', not a variable @@ -36,7 +36,7 @@ error[E02010]: invalid name │ 'mut' can only be used with variable bindings in patterns error[E02001]: duplicate declaration, item, or annotation - ┌─ tests/development/enums/matching/invalid_const_mut.move:21:16 + ┌─ tests/move_2024/matching/invalid_const_mut.move:21:16 │ 14 │ public fun test(b: &Box): u64 { │ ---- Alias previously defined here @@ -45,7 +45,7 @@ error[E02001]: duplicate declaration, item, or annotation │ ^^^^ Duplicate module member or alias 'test'. Top level names in a namespace must be unique error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_const_mut.move:23:26 + ┌─ tests/move_2024/matching/invalid_const_mut.move:23:26 │ 23 │ Box { value: mut ZERO } => ZERO, │ ^^^ ---- Expected a valid 'enum' variant, 'struct', or 'const', not a variable diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_mut.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_mut.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_mut.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_mut.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_name_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_name_match.exp similarity index 77% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_name_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_name_match.exp index 05886318679266..705fb74e9ee029 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_name_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_name_match.exp @@ -1,5 +1,5 @@ error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_const_name_match.move:9:20 + ┌─ tests/move_2024/matching/invalid_const_name_match.move:9:20 │ 9 │ S { n: Z } => 0, │ ^ Invalid pattern variable name 'Z'. Pattern variable names must start with 'a'..'z' or '_' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_name_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_name_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_const_name_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_const_name_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_ctor.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_ctor.exp similarity index 82% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_ctor.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_ctor.exp index facefc0e25f169..ae0654a4c5d0c8 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_ctor.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_ctor.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_empty_ctor.move:8:18 + ┌─ tests/move_2024/matching/invalid_empty_ctor.move:8:18 │ 4 │ None │ ---- 'None' is declared here @@ -10,7 +10,7 @@ error[E03013]: positional call mismatch = Remove '{ }' arguments from this instantiation error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_empty_ctor.move:9:18 + ┌─ tests/move_2024/matching/invalid_empty_ctor.move:9:18 │ 4 │ None │ ---- 'None' is declared here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_ctor.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_ctor.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_ctor.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_ctor.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_enum.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_enum.exp similarity index 72% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_enum.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_enum.exp index d504ab8899c123..9aaa6bf1a8c5b7 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_enum.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_enum.exp @@ -1,5 +1,5 @@ error[E02022]: invalid 'enum' declaration - ┌─ tests/development/enums/matching/invalid_empty_enum.move:2:5 + ┌─ tests/move_2024/matching/invalid_empty_enum.move:2:5 │ 2 │ ╭ public enum Empty { 3 │ │ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_enum.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_enum.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_enum.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_enum.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match.exp similarity index 72% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match.exp index fe65d1281d631f..3bb8896726f8e5 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match.exp @@ -1,12 +1,12 @@ error[E01018]: invalid 'match' - ┌─ tests/development/enums/matching/invalid_empty_match.move:7:9 + ┌─ tests/move_2024/matching/invalid_empty_match.move:7:9 │ 7 │ ╭ match (e) { 8 │ │ } │ ╰─────────^ Invalid 'match' form. 'match' must have at least one arm error[E01018]: invalid 'match' - ┌─ tests/development/enums/matching/invalid_empty_match.move:17:9 + ┌─ tests/move_2024/matching/invalid_empty_match.move:17:9 │ 17 │ ╭ match (e) { 18 │ │ } diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match_2.exp similarity index 80% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match_2.exp index 51e616ee1c9e66..d217a9fa767e64 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match_2.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_empty_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_empty_match_2.move:9:13 │ 4 │ None │ ---- 'None' is declared here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_empty_match_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_empty_match_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor.exp index 6d0a5dc7a57d20..b3bdf7938f2c02 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor.exp @@ -1,5 +1,5 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_head_ctor.move:9:13 + ┌─ tests/move_2024/matching/invalid_head_ctor.move:9:13 │ 9 │ Some(_) => (), │ ^^^^ Unexpected name access. Expected a valid 'enum' variant, 'struct', or 'const'. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_2.exp similarity index 70% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_2.exp index 7730cc70580cf3..6e639e84557a1f 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_2.exp @@ -1,5 +1,5 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_head_ctor_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_head_ctor_2.move:9:13 │ 9 │ a(_) => (), │ ^ Unexpected name access. Expected a valid 'enum' variant, 'struct', or 'const'. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_3.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_3.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_3.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_3.exp index e7586d0b3cbfb8..d1c5d2341557e4 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_3.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_3.exp @@ -1,5 +1,5 @@ error[E03003]: unbound module member - ┌─ tests/development/enums/matching/invalid_head_ctor_3.move:16:13 + ┌─ tests/move_2024/matching/invalid_head_ctor_3.move:16:13 │ 16 │ l::a(_) => (), │ ^^^^ Invalid module access. Expected a type, but found function 'a' in module '0x42::l' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_3.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_3.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_head_ctor_3.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_head_ctor_3.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_incomplete_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_incomplete_match.exp similarity index 65% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_incomplete_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_incomplete_match.exp index 996a5af2753c9b..7156b8e9f04ded 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_incomplete_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_incomplete_match.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_incomplete_match.move:13:16 + ┌─ tests/move_2024/matching/invalid_incomplete_match.move:13:16 │ 13 │ match (x) { │ ^ Pattern 'Tuple::Two(Maybe::Nothing, _)' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_incomplete_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_incomplete_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_incomplete_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_incomplete_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal.exp index d353de2a7b3f55..99f8c9113cc445 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal.exp @@ -1,11 +1,11 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_literal.move:8:16 + ┌─ tests/move_2024/matching/invalid_literal.move:8:16 │ 8 │ match (opt) { │ ^^^ Pattern 'Option::Some(_)' not covered error[E01006]: invalid number literal - ┌─ tests/development/enums/matching/invalid_literal.move:9:26 + ┌─ tests/move_2024/matching/invalid_literal.move:9:26 │ 9 │ Option::Some(256u8) => (), │ ^^^^^ Invalid number literal. The given literal is too large to fit into 'u8' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal_2.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal_2.exp index 5624392dfd9956..005d960c2a33ba 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal_2.exp @@ -1,5 +1,5 @@ error[E04007]: incompatible types - ┌─ tests/development/enums/matching/invalid_literal_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_literal_2.move:9:13 │ 7 │ fun test(opt: &Option) { │ -- Expected: 'u8' @@ -11,7 +11,7 @@ error[E04007]: incompatible types │ Invalid pattern error[E04007]: incompatible types - ┌─ tests/development/enums/matching/invalid_literal_2.move:10:13 + ┌─ tests/move_2024/matching/invalid_literal_2.move:10:13 │ 7 │ fun test(opt: &Option) { │ -- Expected: 'u8' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_literal_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_literal_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_tuple.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_tuple.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_tuple.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_tuple.exp index fafb3acc107ee0..783adf0595107c 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_tuple.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_tuple.exp @@ -1,5 +1,5 @@ error[E01018]: invalid 'match' - ┌─ tests/development/enums/matching/invalid_match_tuple.move:6:9 + ┌─ tests/move_2024/matching/invalid_match_tuple.move:6:9 │ 6 │ ╭ match (x()) { 7 │ │ (x, y) => () @@ -7,7 +7,7 @@ error[E01018]: invalid 'match' │ ╰─────────^ Invalid 'match' form. 'match' must have at least one arm error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_match_tuple.move:7:15 + ┌─ tests/move_2024/matching/invalid_match_tuple.move:7:15 │ 7 │ (x, y) => () │ ^ @@ -16,7 +16,7 @@ error[E01002]: unexpected token │ Expected ')' error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_match_tuple.move:7:18 + ┌─ tests/move_2024/matching/invalid_match_tuple.move:7:18 │ 7 │ (x, y) => () │ ^ @@ -25,7 +25,7 @@ error[E01002]: unexpected token │ Expected '=>' error[E04005]: expected a single type - ┌─ tests/development/enums/matching/invalid_match_tuple.move:12:16 + ┌─ tests/move_2024/matching/invalid_match_tuple.move:12:16 │ 3 │ fun x(): (u64, u64) { (0, 42) } │ ---------- Expected a single type, but found expression list type: '(u64, u64)' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_tuple.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_tuple.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_tuple.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_tuple.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_unit.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_unit.exp similarity index 72% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_unit.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_unit.exp index 85d1732faf96cc..01be47b3db35cd 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_unit.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_unit.exp @@ -1,5 +1,5 @@ error[E01018]: invalid 'match' - ┌─ tests/development/enums/matching/invalid_match_unit.move:6:9 + ┌─ tests/move_2024/matching/invalid_match_unit.move:6:9 │ 6 │ ╭ match (x()) { 7 │ │ () => () @@ -7,13 +7,13 @@ error[E01018]: invalid 'match' │ ╰─────────^ Invalid 'match' form. 'match' must have at least one arm error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_match_unit.move:7:14 + ┌─ tests/move_2024/matching/invalid_match_unit.move:7:14 │ 7 │ () => () │ ^ Invalid pattern error[E04005]: expected a single type - ┌─ tests/development/enums/matching/invalid_match_unit.move:12:16 + ┌─ tests/move_2024/matching/invalid_match_unit.move:12:16 │ 3 │ fun x() { } │ - Expected a single type, but found expression list type: '()' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_unit.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_unit.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_match_unit.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_match_unit.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut.exp similarity index 78% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut.exp index cb748423e65ede..3161d1afd56e08 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut.exp @@ -1,5 +1,5 @@ error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_mut.move:10:13 + ┌─ tests/move_2024/matching/invalid_mut.move:10:13 │ 10 │ mut Maybe::Nothing => (), │ ^^^ -------------- Expected a valid 'enum' variant, 'struct', or 'const', not a variable @@ -7,7 +7,7 @@ error[E02010]: invalid name │ 'mut' can only be used with variable bindings in patterns error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_mut.move:11:17 + ┌─ tests/move_2024/matching/invalid_mut.move:11:17 │ 11 │ mut x => (), │ ^ Invalid type arguments on a pattern variable @@ -15,7 +15,7 @@ error[E02010]: invalid name = Type arguments cannot appear on pattern variables warning[W09002]: unused variable - ┌─ tests/development/enums/matching/invalid_mut.move:11:17 + ┌─ tests/move_2024/matching/invalid_mut.move:11:17 │ 11 │ mut x => (), │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -23,7 +23,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_mut.move:12:13 + ┌─ tests/move_2024/matching/invalid_mut.move:12:13 │ 12 │ mut Maybe::Just(_) => (), │ ^^^ Invalid 'mut' keyword on non-variable pattern diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_2.exp similarity index 74% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_2.exp index 7e69016bae0da8..a5fdd65bf3ae68 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_2.exp @@ -1,11 +1,11 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_mut_2.move:9:16 + ┌─ tests/move_2024/matching/invalid_mut_2.move:9:16 │ 9 │ match (m) { │ ^ Pattern 'Maybe::Nothing' not covered error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_mut_2.move:10:13 + ┌─ tests/move_2024/matching/invalid_mut_2.move:10:13 │ 10 │ mut Maybe::Nothing => (), │ ^^^ -------------- Expected a valid 'enum' variant, 'struct', or 'const', not a variable @@ -13,7 +13,7 @@ error[E02010]: invalid name │ 'mut' can only be used with variable bindings in patterns error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_mut_2.move:11:13 + ┌─ tests/move_2024/matching/invalid_mut_2.move:11:13 │ 11 │ mut Maybe::Just(_) => (), │ ^^^ Invalid 'mut' keyword on non-variable pattern diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_3.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_3.exp similarity index 74% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_3.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_3.exp index 150ee3219d2617..498b5e028f64f0 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_3.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_3.exp @@ -1,11 +1,11 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_mut_3.move:9:16 + ┌─ tests/move_2024/matching/invalid_mut_3.move:9:16 │ 9 │ match (m) { │ ^ Pattern 'Maybe::Nothing' not covered error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_mut_3.move:10:13 + ┌─ tests/move_2024/matching/invalid_mut_3.move:10:13 │ 10 │ mut Maybe::Nothing => (), │ ^^^ -------------- Expected a valid 'enum' variant, 'struct', or 'const', not a variable @@ -13,7 +13,7 @@ error[E02010]: invalid name │ 'mut' can only be used with variable bindings in patterns error[E01002]: unexpected token - ┌─ tests/development/enums/matching/invalid_mut_3.move:11:13 + ┌─ tests/move_2024/matching/invalid_mut_3.move:11:13 │ 11 │ mut Maybe::Just(_) => (), │ ^^^ Invalid 'mut' keyword on non-variable pattern diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_3.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_3.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_3.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_3.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_4.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_4.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_4.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_4.exp index bdbc9f4480ff6a..8d1e54dff542b6 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_4.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_4.exp @@ -1,11 +1,11 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/invalid_mut_4.move:9:16 + ┌─ tests/move_2024/matching/invalid_mut_4.move:9:16 │ 9 │ match (m) { │ ^ Pattern 'Maybe::Nothing' not covered error[E02010]: invalid name - ┌─ tests/development/enums/matching/invalid_mut_4.move:10:13 + ┌─ tests/move_2024/matching/invalid_mut_4.move:10:13 │ 10 │ mut Maybe::Nothing => (), │ ^^^ -------------- Expected a valid 'enum' variant, 'struct', or 'const', not a variable diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_4.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_4.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_mut_4.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_mut_4.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_ctor.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_ctor.exp similarity index 77% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_ctor.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_ctor.exp index 8ab5220cbd808b..ce2b7e1335a8ac 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_ctor.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_ctor.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_named_ctor.move:8:18 + ┌─ tests/move_2024/matching/invalid_named_ctor.move:8:18 │ 4 │ E { x : u64 } │ ------------- 'E' is declared here @@ -10,13 +10,13 @@ error[E03013]: positional call mismatch = Named instantiations take arguments using '{ }' error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_named_ctor.move:8:18 + ┌─ tests/move_2024/matching/invalid_named_ctor.move:8:18 │ 8 │ let _x = Entry::E; │ ^^^^^^^^ Missing argument for field 'x' in '0x42::m::Entry::E' error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_named_ctor.move:9:18 + ┌─ tests/move_2024/matching/invalid_named_ctor.move:9:18 │ 4 │ E { x : u64 } │ ------------- 'E' is declared here @@ -27,7 +27,7 @@ error[E03013]: positional call mismatch = Named instantiations take arguments using '{ }' error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_named_ctor.move:9:18 + ┌─ tests/move_2024/matching/invalid_named_ctor.move:9:18 │ 9 │ let _x = Entry::E(); │ ^^^^^^^^^^ Missing argument for field 'x' in '0x42::m::Entry::E' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_ctor.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_ctor.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_ctor.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_ctor.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match.exp similarity index 68% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match.exp index 7f251942115c0a..1e3889e3d2a6b7 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match.exp @@ -1,5 +1,5 @@ error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_named_match.move:9:13 + ┌─ tests/move_2024/matching/invalid_named_match.move:9:13 │ 9 │ Entry::One => () │ ^^^^^^^^^^ Missing pattern for field 'x' in '0x42::m::Entry::One' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match_2.exp similarity index 76% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match_2.exp index f07e58bff917a8..cf2d14bbc94b1d 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match_2.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_named_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_named_match_2.move:9:13 │ 4 │ One { x: u64 } │ -------------- 'One' is declared here @@ -10,19 +10,19 @@ error[E03013]: positional call mismatch = Named patterns take arguments using '{ }' error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_named_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_named_match_2.move:9:13 │ 9 │ Entry::One(x) => () │ ^^^^^^^^^^^^^ Missing pattern for field 'x' in '0x42::m::Entry::One' error[E03010]: unbound field - ┌─ tests/development/enums/matching/invalid_named_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_named_match_2.move:9:13 │ 9 │ Entry::One(x) => () │ ^^^^^^^^^^^^^ Unbound field '0' in '0x42::m::Entry::One' warning[W09002]: unused variable - ┌─ tests/development/enums/matching/invalid_named_match_2.move:9:24 + ┌─ tests/move_2024/matching/invalid_named_match_2.move:9:24 │ 9 │ Entry::One(x) => () │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_named_match_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_named_match_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding.exp index 3f213fb5638103..fa4152e0ab3864 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding.exp @@ -1,5 +1,5 @@ error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_or_binding.move:9:24 + ┌─ tests/move_2024/matching/invalid_or_binding.move:9:24 │ 9 │ Two::Tuple(x, _) | Two::Tuple(_, _y) => { let _y = x; }, │ ^ ----------------- right or-pattern does not @@ -9,7 +9,7 @@ error[E03019]: invalid pattern = Both sides of an or-pattern must bind the same variables. error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_or_binding.move:9:46 + ┌─ tests/move_2024/matching/invalid_or_binding.move:9:46 │ 9 │ Two::Tuple(x, _) | Two::Tuple(_, _y) => { let _y = x; }, │ ---------------- ^^ right or-pattern binds variable _y diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding_2.exp similarity index 86% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding_2.exp index a42662b3919a2a..fa428e401c5a03 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding_2.exp @@ -1,5 +1,5 @@ error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_or_binding_2.move:9:53 + ┌─ tests/move_2024/matching/invalid_or_binding_2.move:9:53 │ 9 │ Three::Tuple(x, _, _) | Three::Tuple(_, y, _) | Three::Tuple(_, _, x) => { let _y = x; }, │ ^ --------------------- right or-pattern does not @@ -9,7 +9,7 @@ error[E03019]: invalid pattern = Both sides of an or-pattern must bind the same variables. error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_or_binding_2.move:9:53 + ┌─ tests/move_2024/matching/invalid_or_binding_2.move:9:53 │ 9 │ Three::Tuple(x, _, _) | Three::Tuple(_, y, _) | Three::Tuple(_, _, x) => { let _y = x; }, │ --------------------- ^ right or-pattern binds variable y @@ -19,7 +19,7 @@ error[E03019]: invalid pattern = Both sides of an or-pattern must bind the same variables. warning[W09002]: unused variable - ┌─ tests/development/enums/matching/invalid_or_binding_2.move:9:53 + ┌─ tests/move_2024/matching/invalid_or_binding_2.move:9:53 │ 9 │ Three::Tuple(x, _, _) | Three::Tuple(_, y, _) | Three::Tuple(_, _, x) => { let _y = x; }, │ ^ Unused local variable 'y'. Consider removing or prefixing with an underscore: '_y' @@ -27,7 +27,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_or_binding_2.move:9:80 + ┌─ tests/move_2024/matching/invalid_or_binding_2.move:9:80 │ 9 │ Three::Tuple(x, _, _) | Three::Tuple(_, y, _) | Three::Tuple(_, _, x) => { let _y = x; }, │ --------------------- ^ right or-pattern binds variable x diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_or_binding_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_or_binding_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_ctor.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_ctor.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_ctor.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_ctor.exp index 99760fcf806ea0..545f93acffd31a 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_ctor.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_ctor.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_positional_ctor.move:8:18 + ┌─ tests/move_2024/matching/invalid_positional_ctor.move:8:18 │ 4 │ E(u64) │ ------ 'E' is declared here @@ -10,13 +10,13 @@ error[E03013]: positional call mismatch = Positional instantiations take arguments using '()' error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_positional_ctor.move:8:18 + ┌─ tests/move_2024/matching/invalid_positional_ctor.move:8:18 │ 8 │ let _x = Entry::E; │ ^^^^^^^^ Missing argument for field '0' in '0x42::m::Entry::E' error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_positional_ctor.move:9:18 + ┌─ tests/move_2024/matching/invalid_positional_ctor.move:9:18 │ 4 │ E(u64) │ ------ 'E' is declared here @@ -27,13 +27,13 @@ error[E03013]: positional call mismatch = Positional instantiations take arguments using '()' error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_positional_ctor.move:9:18 + ┌─ tests/move_2024/matching/invalid_positional_ctor.move:9:18 │ 9 │ let _x = Entry::E { x: 32 }; │ ^^^^^^^^^^^^^^^^^^ Missing argument for field '0' in '0x42::m::Entry::E' error[E03010]: unbound field - ┌─ tests/development/enums/matching/invalid_positional_ctor.move:9:18 + ┌─ tests/move_2024/matching/invalid_positional_ctor.move:9:18 │ 9 │ let _x = Entry::E { x: 32 }; │ ^^^^^^^^^^^^^^^^^^ Unbound field 'x' in '0x42::m::Entry::E' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_ctor.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_ctor.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_ctor.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_ctor.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match.exp similarity index 67% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match.exp index 3d145762bac3b4..3270f3b7176c65 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match.exp @@ -1,5 +1,5 @@ error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_positional_match.move:9:13 + ┌─ tests/move_2024/matching/invalid_positional_match.move:9:13 │ 9 │ Entry::One => () │ ^^^^^^^^^^ Missing pattern for field '0' in '0x42::m::Entry::One' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match_2.exp similarity index 76% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match_2.exp index 296ea79bcb2c6a..cabf15ff4c24ed 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match_2.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_positional_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_positional_match_2.move:9:13 │ 4 │ One(u64) │ -------- 'One' is declared here @@ -10,19 +10,19 @@ error[E03013]: positional call mismatch = Positional patterns take arguments using '()' error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_positional_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_positional_match_2.move:9:13 │ 9 │ Entry::One { x } => () │ ^^^^^^^^^^^^^^^^ Missing pattern for field '0' in '0x42::m::Entry::One' error[E03010]: unbound field - ┌─ tests/development/enums/matching/invalid_positional_match_2.move:9:13 + ┌─ tests/move_2024/matching/invalid_positional_match_2.move:9:13 │ 9 │ Entry::One { x } => () │ ^^^^^^^^^^^^^^^^ Unbound field 'x' in '0x42::m::Entry::One' warning[W09002]: unused variable - ┌─ tests/development/enums/matching/invalid_positional_match_2.move:9:26 + ┌─ tests/move_2024/matching/invalid_positional_match_2.move:9:26 │ 9 │ Entry::One { x } => () │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_positional_match_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_positional_match_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding.exp similarity index 81% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding.exp index 5b0d6430132ead..d898309450559b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding.exp @@ -1,5 +1,5 @@ error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_repeat_binding.move:9:24 + ┌─ tests/move_2024/matching/invalid_repeat_binding.move:9:24 │ 9 │ Two::Tuple(x, x) => { let _y = x; }, │ ^ - and repeated here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding_2.exp similarity index 82% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding_2.exp index 8c11fd1ff7ffb6..c17f6c729f7a53 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding_2.exp @@ -1,5 +1,5 @@ error[E03019]: invalid pattern - ┌─ tests/development/enums/matching/invalid_repeat_binding_2.move:9:24 + ┌─ tests/move_2024/matching/invalid_repeat_binding_2.move:9:24 │ 9 │ Two::Tuple(x, x) | Two::Tuple(x, _) => { let _y = x; }, │ ^ - and repeated here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_repeat_binding_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_repeat_binding_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_struct_form.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_struct_form.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_struct_form.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_struct_form.exp index dd168d3ea4591f..f3d65a542f4a0f 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_struct_form.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_struct_form.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_struct_form.move:9:13 + ┌─ tests/move_2024/matching/invalid_struct_form.move:9:13 │ 3 │ public struct P(u64) has drop; │ - 'P' is declared here @@ -8,19 +8,19 @@ error[E03013]: positional call mismatch │ ^^^^^^^ Invalid struct pattern. Positional struct declarations require positional patterns error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_struct_form.move:9:13 + ┌─ tests/move_2024/matching/invalid_struct_form.move:9:13 │ 9 │ P { x } => x, │ ^^^^^^^ Missing pattern for field '0' in 'a::m::P' error[E03010]: unbound field - ┌─ tests/development/enums/matching/invalid_struct_form.move:9:13 + ┌─ tests/move_2024/matching/invalid_struct_form.move:9:13 │ 9 │ P { x } => x, │ ^^^^^^^ Unbound field 'x' in 'a::m::P' error[E03013]: positional call mismatch - ┌─ tests/development/enums/matching/invalid_struct_form.move:12:13 + ┌─ tests/move_2024/matching/invalid_struct_form.move:12:13 │ 5 │ public struct N { x: u64 } has drop; │ - 'N' is declared here @@ -29,13 +29,13 @@ error[E03013]: positional call mismatch │ ^^^^ Invalid struct pattern. Named struct declarations require named patterns error[E04016]: too few arguments - ┌─ tests/development/enums/matching/invalid_struct_form.move:12:13 + ┌─ tests/move_2024/matching/invalid_struct_form.move:12:13 │ 12 │ N(x) => x, │ ^^^^ Missing pattern for field 'x' in 'a::m::N' error[E03010]: unbound field - ┌─ tests/development/enums/matching/invalid_struct_form.move:12:13 + ┌─ tests/move_2024/matching/invalid_struct_form.move:12:13 │ 12 │ N(x) => x, │ ^^^^ Unbound field '0' in 'a::m::N' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_struct_form.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_struct_form.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/invalid_struct_form.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/invalid_struct_form.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/lit_borrow_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/lit_borrow_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/lit_borrow_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/lit_borrow_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/lit_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/lit_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/lit_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/lit_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/lit_mut_borrow_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/lit_mut_borrow_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/lit_mut_borrow_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/lit_mut_borrow_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/macro_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/macro_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/macro_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/macro_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/match_mut_lit.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/match_mut_lit.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/match_mut_lit.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/match_mut_lit.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type_invalid.exp similarity index 70% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type_invalid.exp index bccb82b4b4a969..3feb4492e1e072 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type_invalid.exp @@ -1,29 +1,29 @@ error[E04010]: cannot infer type - ┌─ tests/development/enums/matching/match_type_invalid.move:12:17 + ┌─ tests/move_2024/matching/match_type_invalid.move:12:17 │ 12 │ let o = Option::None; │ ^^^^^^^^^^^^ Could not infer this type. Try adding an annotation error[E04010]: cannot infer type - ┌─ tests/development/enums/matching/match_type_invalid.move:14:13 + ┌─ tests/move_2024/matching/match_type_invalid.move:14:13 │ 14 │ Option::Some(n) => foo(n), │ ^^^^^^^^^^^^^^^ Could not infer this type. Try adding an annotation error[E04010]: cannot infer type - ┌─ tests/development/enums/matching/match_type_invalid.move:14:26 + ┌─ tests/move_2024/matching/match_type_invalid.move:14:26 │ 14 │ Option::Some(n) => foo(n), │ ^ Could not infer this type. Try adding an annotation error[E04010]: cannot infer type - ┌─ tests/development/enums/matching/match_type_invalid.move:14:32 + ┌─ tests/move_2024/matching/match_type_invalid.move:14:32 │ 14 │ Option::Some(n) => foo(n), │ ^^^^^^ Could not infer this type. Try adding an annotation error[E04010]: cannot infer type - ┌─ tests/development/enums/matching/match_type_invalid.move:15:13 + ┌─ tests/move_2024/matching/match_type_invalid.move:15:13 │ 15 │ Option::None => (), │ ^^^^^^^^^^^^ Could not infer this type. Try adding an annotation diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/match_type_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/match_type_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/memory_test.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/memory_test.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/memory_test.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/memory_test.exp index cf518962294da6..09f43641bb6379 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/memory_test.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/memory_test.exp @@ -1,5 +1,5 @@ error[E07003]: invalid operation, could create dangling a reference - ┌─ tests/development/enums/matching/memory_test.move:17:20 + ┌─ tests/move_2024/matching/memory_test.move:17:20 │ 15 │ match (o) { │ - It is still being mutably borrowed by this reference diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/memory_test.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/memory_test.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/memory_test.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/memory_test.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or_not_exhaustive.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or_not_exhaustive.exp similarity index 72% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or_not_exhaustive.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or_not_exhaustive.exp index e0d25dc6d98da7..e904c73611e48a 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or_not_exhaustive.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or_not_exhaustive.exp @@ -1,5 +1,5 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/matching/multi_or_not_exhaustive.move:12:16 + ┌─ tests/move_2024/matching/multi_or_not_exhaustive.move:12:16 │ 12 │ match (subject) { │ ^^^^^^^ Pattern 'ABC::B(_1, _0)' not covered diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or_not_exhaustive.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or_not_exhaustive.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/multi_or_not_exhaustive.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/multi_or_not_exhaustive.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nested_at.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nested_at.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nested_at.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nested_at.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nested_bindings.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nested_bindings.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nested_bindings.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nested_bindings.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nested_either_borrow.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nested_either_borrow.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nested_either_borrow.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nested_either_borrow.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_defns.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_defns.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_defns.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_defns.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms_invalid.exp similarity index 79% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms_invalid.exp index 08db6ad681fcfb..ff42c7524b2178 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms_invalid.exp @@ -1,5 +1,5 @@ error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/nesting_with_phantoms_invalid.move:20:51 + ┌─ tests/move_2024/matching/nesting_with_phantoms_invalid.move:20:51 │ 20 │ public struct PS { s: S , x: X, t: T} │ - ^ Phantom type parameter cannot be used as a field type @@ -7,7 +7,7 @@ error[E02013]: invalid phantom type parameter usage │ 'T' declared here as phantom error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/nesting_with_phantoms_invalid.move:24:19 + ┌─ tests/move_2024/matching/nesting_with_phantoms_invalid.move:24:19 │ 22 │ public enum PE { │ - 'T' declared here as phantom diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/nesting_with_phantoms_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/nesting_with_phantoms_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/option_default.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/option_default.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/option_default.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/option_default.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/option_enum_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/option_enum_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/option_enum_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/option_enum_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms_invalid.exp similarity index 80% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms_invalid.exp index 4c53ef62d4fcc9..86d23bd69d5b7d 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms_invalid.exp @@ -1,5 +1,5 @@ error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:9:11 + ┌─ tests/move_2024/matching/phantoms_invalid.move:9:11 │ 7 │ public enum Q { │ - 'X' declared here as phantom @@ -8,7 +8,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:15:16 + ┌─ tests/move_2024/matching/phantoms_invalid.move:15:16 │ 13 │ public enum R { │ - 'X' declared here as phantom @@ -17,7 +17,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:20:11 + ┌─ tests/move_2024/matching/phantoms_invalid.move:20:11 │ 19 │ public enum S { │ - 'X' declared here as phantom @@ -25,7 +25,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:21:16 + ┌─ tests/move_2024/matching/phantoms_invalid.move:21:16 │ 19 │ public enum S { │ - 'X' declared here as phantom @@ -34,7 +34,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:27:13 + ┌─ tests/move_2024/matching/phantoms_invalid.move:27:13 │ 25 │ public enum T { │ - 'X' declared here as phantom @@ -43,7 +43,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as an argument to a non-phantom parameter error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:33:18 + ┌─ tests/move_2024/matching/phantoms_invalid.move:33:18 │ 31 │ public enum U { │ - 'X' declared here as phantom @@ -52,7 +52,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as an argument to a non-phantom parameter error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:38:11 + ┌─ tests/move_2024/matching/phantoms_invalid.move:38:11 │ 37 │ public enum V { │ - 'X' declared here as phantom @@ -60,7 +60,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:38:16 + ┌─ tests/move_2024/matching/phantoms_invalid.move:38:16 │ 37 │ public enum V { │ - 'X' declared here as phantom @@ -68,7 +68,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as an argument to a non-phantom parameter error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:39:16 + ┌─ tests/move_2024/matching/phantoms_invalid.move:39:16 │ 37 │ public enum V { │ - 'X' declared here as phantom @@ -77,7 +77,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:39:24 + ┌─ tests/move_2024/matching/phantoms_invalid.move:39:24 │ 37 │ public enum V { │ - 'X' declared here as phantom @@ -86,7 +86,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as an argument to a non-phantom parameter error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:44:11 + ┌─ tests/move_2024/matching/phantoms_invalid.move:44:11 │ 43 │ public enum W { │ - 'X' declared here as phantom @@ -94,7 +94,7 @@ error[E02013]: invalid phantom type parameter usage │ ^ Phantom type parameter cannot be used as a field type error[E02013]: invalid phantom type parameter usage - ┌─ tests/development/enums/matching/phantoms_invalid.move:45:26 + ┌─ tests/move_2024/matching/phantoms_invalid.move:45:26 │ 43 │ public enum W { │ - 'X' declared here as phantom diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/phantoms_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/phantoms_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/ref_borrow.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/ref_borrow.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/ref_borrow.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/ref_borrow.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/repeat_binding_okay.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/repeat_binding_okay.exp similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/repeat_binding_okay.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/repeat_binding_okay.exp diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_enum_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_enum_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_enum_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_enum_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_enum_ref_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_enum_ref_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_enum_ref_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_enum_ref_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_struct_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_struct_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_struct_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_struct_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_struct_ref_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_struct_ref_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/simple_struct_ref_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/simple_struct_ref_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/singleton_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/singleton_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/singleton_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/singleton_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut.move similarity index 98% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut.move index 863ec02ca4a4dd..679ca07a12180b 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut.move +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut_invalid.exp similarity index 81% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut_invalid.exp index 7c1321d2f7ae60..348e5cee0d6285 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut_invalid.exp @@ -1,5 +1,5 @@ error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:33:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:33:21 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -8,7 +8,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:33:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:33:23 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. It is not compatible with the other type. @@ -19,7 +19,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:33:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:33:25 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -28,7 +28,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:42:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:42:21 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -37,7 +37,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:42:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:42:23 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. It is not compatible with the other type. @@ -48,7 +48,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:42:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:42:25 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -57,7 +57,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:51:20 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:51:20 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -66,7 +66,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:51:22 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:51:22 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. It is not compatible with the other type. @@ -77,7 +77,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:51:24 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:51:24 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -86,7 +86,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:60:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:60:21 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -95,7 +95,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:60:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:60:23 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. It is not compatible with the other type. @@ -106,7 +106,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:60:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:60:25 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -115,7 +115,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:69:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:69:21 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -124,7 +124,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:69:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:69:23 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. It is not compatible with the other type. @@ -135,7 +135,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:69:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:69:25 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -144,7 +144,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:78:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:78:21 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -153,7 +153,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:78:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:78:23 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. It is not compatible with the other type. @@ -164,7 +164,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:78:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:78:25 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -173,7 +173,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:87:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:87:21 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -182,7 +182,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:87:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:87:23 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. It is not compatible with the other type. @@ -193,7 +193,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:87:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:87:25 │ 6 │ public struct NBase has copy, drop { t: u64 } │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -202,7 +202,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:96:21 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:96:21 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' @@ -211,7 +211,7 @@ error[E04003]: built-in operation not supported │ ^ Invalid argument to '+' error[E04007]: incompatible types - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:96:23 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:96:23 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. It is not compatible with the other type. @@ -222,7 +222,7 @@ error[E04007]: incompatible types │ Incompatible arguments to '+' error[E04003]: built-in operation not supported - ┌─ tests/development/enums/matching/struct_match_mut_invalid.move:96:25 + ┌─ tests/move_2024/matching/struct_match_mut_invalid.move:96:25 │ 8 │ public struct PBase(u64) has copy, drop; │ --- Found: '&u64'. But expected: 'u8', 'u16', 'u32', 'u64', 'u128', 'u256' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut_invalid.move similarity index 98% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut_invalid.move index 3862cefe300f85..ac66c63d953784 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_match_mut_invalid.move +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_match_mut_invalid.move @@ -1,4 +1,4 @@ -//# init --edition development +//# init --edition 2024.alpha //# publish module 0x42::m { diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_mut_box.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_mut_box.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_mut_box.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_mut_box.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named_empty.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named_empty.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named_empty.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named_empty.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named_empty_value.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named_empty_value.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named_empty_value.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named_empty_value.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named_value.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named_value.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_named_value.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_named_value.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_nested.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_nested.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_nested.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_nested.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_nested_matching.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_nested_matching.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_nested_matching.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_nested_matching.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_poly.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_poly.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_poly.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_poly.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_positional.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_positional.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_positional.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_positional.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_positional_empty.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_positional_empty.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_positional_empty.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_positional_empty.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_visibility.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_visibility.exp similarity index 75% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_visibility.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_visibility.exp index ff62fd7376a973..bcb378b37546e4 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_visibility.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_visibility.exp @@ -1,5 +1,5 @@ error[E04001]: restricted visibility - ┌─ tests/development/enums/matching/struct_visibility.move:13:13 + ┌─ tests/move_2024/matching/struct_visibility.move:13:13 │ 13 │ m::S { t } => t, │ ^^^^^^^^^^ Invalid pattern for '0x42::m::S'. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_visibility.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_visibility.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/struct_visibility.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/struct_visibility.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/tuple_specialize.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/tuple_specialize.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/tuple_specialize.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/tuple_specialize.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/unused_binding.exp b/external-crates/move/crates/move-compiler/tests/move_2024/matching/unused_binding.exp similarity index 83% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/unused_binding.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/unused_binding.exp index 6c1114ea5e5c19..627bb89aebeef9 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/matching/unused_binding.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/matching/unused_binding.exp @@ -1,5 +1,5 @@ warning[W09002]: unused variable - ┌─ tests/development/enums/matching/unused_binding.move:10:26 + ┌─ tests/move_2024/matching/unused_binding.move:10:26 │ 10 │ Option::Some(x) => 0, // x unused │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -7,7 +7,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') warning[W09002]: unused variable - ┌─ tests/development/enums/matching/unused_binding.move:17:26 + ┌─ tests/move_2024/matching/unused_binding.move:17:26 │ 17 │ Option::Some(x) => default, // x unused │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/matching/unused_binding.move b/external-crates/move/crates/move-compiler/tests/move_2024/matching/unused_binding.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/matching/unused_binding.move rename to external-crates/move/crates/move-compiler/tests/move_2024/matching/unused_binding.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis.move b/external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis.move rename to external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis_invalid.exp similarity index 78% rename from external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis_invalid.exp index 39775b5ec6ba0f..f63799601e2fda 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis_invalid.exp @@ -1,5 +1,5 @@ error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:16:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:16:13 │ 3 │ D │ - 'D' is declared here @@ -10,7 +10,7 @@ error[E03013]: positional call mismatch = Remove '()' arguments from this pattern error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:17:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:17:13 │ 3 │ D │ - 'D' is declared here @@ -21,7 +21,7 @@ error[E03013]: positional call mismatch = Remove '{ }' arguments from this pattern error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:18:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:18:13 │ 3 │ D │ - 'D' is declared here @@ -32,13 +32,13 @@ error[E03013]: positional call mismatch = Remove '()' arguments from this pattern error[E04017]: too many arguments - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:18:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:18:13 │ 18 │ Y::D(x, ..) => 0, │ ^^^^^^^^^^^ Invalid usage for empty variant '0x42::m::Y::D'. Empty variants do not take any arguments. warning[W09002]: unused variable - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:18:18 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:18:18 │ 18 │ Y::D(x, ..) => 0, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -46,7 +46,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:19:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:19:13 │ 3 │ D │ - 'D' is declared here @@ -57,13 +57,13 @@ error[E03013]: positional call mismatch = Remove '{ }' arguments from this pattern error[E04017]: too many arguments - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:19:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:19:13 │ 19 │ Y::D{x, ..} => 0, │ ^^^^^^^^^^^ Invalid usage for empty variant '0x42::m::Y::D'. Empty variants do not take any arguments. warning[W09002]: unused variable - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:19:18 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:19:18 │ 19 │ Y::D{x, ..} => 0, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -71,7 +71,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:25:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:25:13 │ 7 │ D() │ --- 'D' is declared here @@ -82,7 +82,7 @@ error[E03013]: positional call mismatch = Positional patterns take arguments using '()' error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:26:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:26:13 │ 7 │ D() │ --- 'D' is declared here @@ -93,7 +93,7 @@ error[E03013]: positional call mismatch = Positional patterns take arguments using '()' error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:27:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:27:13 │ 7 │ D() │ --- 'D' is declared here @@ -104,13 +104,13 @@ error[E03013]: positional call mismatch = Positional patterns take arguments using '()' error[E03010]: unbound field - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:27:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:27:13 │ 27 │ X::D{x, ..} => 0, │ ^^^^^^^^^^^ Unbound field 'x' in '0x42::m::X::D' warning[W09002]: unused variable - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:27:18 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:27:18 │ 27 │ X::D{x, ..} => 0, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -118,7 +118,7 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:33:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:33:13 │ 11 │ D{} │ --- 'D' is declared here @@ -129,7 +129,7 @@ error[E03013]: positional call mismatch = Named patterns take arguments using '{ }' error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:34:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:34:13 │ 11 │ D{} │ --- 'D' is declared here @@ -140,7 +140,7 @@ error[E03013]: positional call mismatch = Named patterns take arguments using '{ }' error[E03013]: positional call mismatch - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:35:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:35:13 │ 11 │ D{} │ --- 'D' is declared here @@ -151,13 +151,13 @@ error[E03013]: positional call mismatch = Named patterns take arguments using '{ }' error[E03010]: unbound field - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:35:13 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:35:13 │ 35 │ Z::D(x, ..) => 0, │ ^^^^^^^^^^^ Unbound field '0' in '0x42::m::Z::D' warning[W09002]: unused variable - ┌─ tests/development/enums/naming/pattern_ellipsis_invalid.move:35:18 + ┌─ tests/move_2024/naming/pattern_ellipsis_invalid.move:35:18 │ 35 │ Z::D(x, ..) => 0, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/naming/pattern_ellipsis_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/naming/pattern_ellipsis_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location.exp b/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location.exp index 3178054a65e01d..15cdfcda02739a 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location.exp @@ -10,14 +10,6 @@ error[E03021]: invalid type annotation 3 │ public struct S { f: _ } │ ^ Invalid usage of a placeholder for type inference '_'. Struct fields require fully specified types. Replace '_' with a specific type or consider adding a new type parameter -error[E13001]: feature is not supported in specified edition - ┌─ tests/move_2024/naming/type_hole_invalid_location.move:4:5 - │ -4 │ public enum E { P(_), S { f: _ } } - │ ^^^^^^ Enums are under development and should not be used right now. - │ - = You can update the edition in the 'Move.toml', or via command line flag if invoking the compiler directly. - error[E03021]: invalid type annotation ┌─ tests/move_2024/naming/type_hole_invalid_location.move:4:23 │ diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location_nested.exp b/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location_nested.exp index 1915c9f6e6b611..da565d305a88ca 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location_nested.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/naming/type_hole_invalid_location_nested.exp @@ -10,14 +10,6 @@ error[E03021]: invalid type annotation 4 │ public struct S { f: Pair<_, bool> } │ ^ Invalid usage of a placeholder for type inference '_'. Struct fields require fully specified types. Replace '_' with a specific type or consider adding a new type parameter -error[E13001]: feature is not supported in specified edition - ┌─ tests/move_2024/naming/type_hole_invalid_location_nested.move:5:5 - │ -5 │ public enum E { P(Pair<_, _>), S { f: vector<_> } } - │ ^^^^^^ Enums are under development and should not be used right now. - │ - = You can update the edition in the 'Move.toml', or via command line flag if invoking the compiler directly. - error[E03021]: invalid type annotation ┌─ tests/move_2024/naming/type_hole_invalid_location_nested.move:5:28 │ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/enum.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/enum.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid.exp similarity index 76% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid.exp index 4fbd027d304cb2..f72f0b3927e61f 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid.exp @@ -1,5 +1,5 @@ error[E01003]: invalid modifier - ┌─ tests/development/enums/parser/enum_invalid.move:2:5 + ┌─ tests/move_2024/parser/enum_invalid.move:2:5 │ 2 │ enum Temperature { │ ^^^^ Invalid enum declaration. Internal enum declarations are not yet supported @@ -7,7 +7,7 @@ error[E01003]: invalid modifier = Visibility annotations are required on enum declarations. error[E01003]: invalid modifier - ┌─ tests/development/enums/parser/enum_invalid.move:8:5 + ┌─ tests/move_2024/parser/enum_invalid.move:8:5 │ 8 │ public(package) enum EnumWithPhantom { │ ^^^^^^^^^^^^^^^ Invalid enum declaration. 'public(package)' enum declarations are not yet supported @@ -15,13 +15,13 @@ error[E01003]: invalid modifier = Visibility annotations are required on enum declarations. error[E01002]: unexpected token - ┌─ tests/development/enums/parser/enum_invalid.move:13:13 + ┌─ tests/move_2024/parser/enum_invalid.move:13:13 │ 13 │ Done(x: u64), │ ^ Cannot use named fields in a positional definition error[E01002]: unexpected token - ┌─ tests/development/enums/parser/enum_invalid.move:14:18 + ┌─ tests/move_2024/parser/enum_invalid.move:14:18 │ 14 │ Add { u64 }, │ ^ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid_2.exp b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid_2.exp similarity index 71% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid_2.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid_2.exp index 4b71e77e1fa655..266a538c439c79 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid_2.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid_2.exp @@ -1,11 +1,11 @@ error[E01002]: unexpected token - ┌─ tests/development/enums/parser/enum_invalid_2.move:3:13 + ┌─ tests/move_2024/parser/enum_invalid_2.move:3:13 │ 3 │ Done(x: u64), │ ^ Cannot use named fields in a positional definition error[E01002]: unexpected token - ┌─ tests/development/enums/parser/enum_invalid_2.move:4:18 + ┌─ tests/move_2024/parser/enum_invalid_2.move:4:18 │ 4 │ Add { u64 }, │ ^ diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid_2.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid_2.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/enum_invalid_2.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/enum_invalid_2.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/invalid_mut_usage_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/parser/invalid_mut_usage_match.exp similarity index 72% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/invalid_mut_usage_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/invalid_mut_usage_match.exp index 7b2cdca89e56b7..3aec94494084a6 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/parser/invalid_mut_usage_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/parser/invalid_mut_usage_match.exp @@ -1,29 +1,29 @@ error[E04036]: non-exhaustive pattern - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:9:15 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:9:15 │ 9 │ match (o) { │ ^ Pattern 'Option::None' not covered error[E04016]: too few arguments - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:10:10 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:10:10 │ 10 │ Option::Other { mut x: mut y } => y, │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Missing pattern for field 'x' in '0x42::m::Option::Other' error[E01002]: unexpected token - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:10:26 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:10:26 │ 10 │ Option::Other { mut x: mut y } => y, │ ^^^ 'mut' modifier can only be used on variable bindings error[E03009]: unbound variable - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:10:44 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:10:44 │ 10 │ Option::Other { mut x: mut y } => y, │ ^ Unbound variable 'y' error[E02010]: invalid name - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:11:33 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:11:33 │ 11 │ Option::Other { x: mut y } => y, │ ^ Invalid type arguments on a pattern variable @@ -31,25 +31,25 @@ error[E02010]: invalid name = Type arguments cannot appear on pattern variables error[E04016]: too few arguments - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:12:10 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:12:10 │ 12 │ Option::Other { mut x: y } => y, │ ^^^^^^^^^^^^^^^^^^^^^^^^^^ Missing pattern for field 'x' in '0x42::m::Option::Other' error[E01002]: unexpected token - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:12:26 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:12:26 │ 12 │ Option::Other { mut x: y } => y, │ ^^^ 'mut' modifier can only be used on variable bindings error[E03009]: unbound variable - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:12:40 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:12:40 │ 12 │ Option::Other { mut x: y } => y, │ ^ Unbound variable 'y' warning[W09002]: unused variable - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:13:10 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:13:10 │ 13 │ x @ mut Option::Some(true) => true, │ ^ Unused local variable 'x'. Consider removing or prefixing with an underscore: '_x' @@ -57,13 +57,13 @@ warning[W09002]: unused variable = This warning can be suppressed with '#[allow(unused_variable)]' applied to the 'module' or module member ('const', 'fun', or 'struct') error[E01002]: unexpected token - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:13:14 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:13:14 │ 13 │ x @ mut Option::Some(true) => true, │ ^^^ Invalid 'mut' keyword on non-variable pattern error[E02010]: invalid name - ┌─ tests/development/enums/parser/invalid_mut_usage_match.move:14:10 + ┌─ tests/move_2024/parser/invalid_mut_usage_match.move:14:10 │ 14 │ mut Option::None => false, │ ^^^ ------------ Expected a valid 'enum' variant, 'struct', or 'const', not a variable diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/invalid_mut_usage_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/invalid_mut_usage_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/invalid_mut_usage_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/invalid_mut_usage_match.move diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/parser/long_path.exp b/external-crates/move/crates/move-compiler/tests/move_2024/parser/long_path.exp index 8cb9b9e946a264..ba58d83fb8b209 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/parser/long_path.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/parser/long_path.exp @@ -2,23 +2,32 @@ error[E03006]: unexpected name in this position ┌─ tests/move_2024/parser/long_path.move:7:26 │ 7 │ public struct A { y: 0x42::m::X::Y } - │ ^^^^^^^^^^ Expected a module or address in this position, not a module member + │ ^^^^^^^^^^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type + │ + = Variants may not be used as types. Use the enum instead. error[E03006]: unexpected name in this position ┌─ tests/move_2024/parser/long_path.move:8:26 │ 8 │ public struct B { x: 0x42::m::X::X } - │ ^^^^^^^^^^ Expected a module or address in this position, not a module member + │ ^^^^^^^^^^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type + │ + = Variants may not be used as types. Use the enum instead. error[E03006]: unexpected name in this position ┌─ tests/move_2024/parser/long_path.move:10:27 │ 10 │ fun foo(): 0x42::m::X<042::m::Y::Y> { - │ ^^^^^^^^^ Expected a module or address in this position, not a module member + │ ^^^^^^^^^^^^ Unexpected enum variant identifier. An enum variant identifier is not a valid type + │ + = Variants may not be used as types. Use the enum instead. error[E03006]: unexpected name in this position ┌─ tests/move_2024/parser/long_path.move:11:9 │ 11 │ 0x42::m::X::X { t: abort 0 } - │ ^^^^^^^^^^ Expected a module or address in this position, not a module member + │ ^^^^^^^^^^ + │ │ │ + │ │ But 'X' is a struct + │ Invalid construction. Expected an enum diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/match.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/match.move diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/parser/mut_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/parser/mut_match.exp index 6c57e8c5c7aa29..19b8a36d96ab39 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/parser/mut_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/parser/mut_match.exp @@ -8,13 +8,3 @@ warning[W09012]: unused 'mut' modifiers │ = This warning can be suppressed with '#[allow(unused_let_mut)]' applied to the 'module' or module member ('const', 'fun', or 'struct') -warning[W09012]: unused 'mut' modifiers - ┌─ tests/move_2024/parser/mut_match.move:12:33 - │ -12 │ Option::Other { x: mut y } => y, - │ --- ^ The variable 'y' is never used mutably - │ │ - │ Consider removing the 'mut' declaration here - │ - = This warning can be suppressed with '#[allow(unused_let_mut)]' applied to the 'module' or module member ('const', 'fun', or 'struct') - diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/mut_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/mut_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/mut_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/mut_match.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis_invalid.exp b/external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis_invalid.exp similarity index 68% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis_invalid.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis_invalid.exp index 0be5339902d3a0..5dbce74c6c0f66 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis_invalid.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis_invalid.exp @@ -1,5 +1,5 @@ error[E01018]: invalid 'match' - ┌─ tests/development/enums/parser/pattern_ellipsis_invalid.move:9:9 + ┌─ tests/move_2024/parser/pattern_ellipsis_invalid.move:9:9 │ 9 │ ╭ match (x) { 10 │ │ .. @@ -7,7 +7,7 @@ error[E01018]: invalid 'match' │ ╰─────────^ Invalid 'match' form. 'match' must have at least one arm error[E01002]: unexpected token - ┌─ tests/development/enums/parser/pattern_ellipsis_invalid.move:10:13 + ┌─ tests/move_2024/parser/pattern_ellipsis_invalid.move:10:13 │ 10 │ .. │ ^ Expected a call argument expression diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis_invalid.move b/external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis_invalid.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/parser/pattern_ellipsis_invalid.move rename to external-crates/move/crates/move-compiler/tests/move_2024/parser/pattern_ellipsis_invalid.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/sui_mode/enums_no_key.exp b/external-crates/move/crates/move-compiler/tests/move_2024/sui_mode/enums_no_key.exp similarity index 77% rename from external-crates/move/crates/move-compiler/tests/development/enums/sui_mode/enums_no_key.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/sui_mode/enums_no_key.exp index dfefe77831bfba..56e93546071395 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/sui_mode/enums_no_key.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/sui_mode/enums_no_key.exp @@ -1,5 +1,5 @@ error[Sui E02007]: invalid object declaration - ┌─ tests/development/enums/sui_mode/enums_no_key.move:3:17 + ┌─ tests/move_2024/sui_mode/enums_no_key.move:3:17 │ 3 │ public enum S has key { │ ^ --- Enums cannot have the 'key' ability. diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/sui_mode/enums_no_key.move b/external-crates/move/crates/move-compiler/tests/move_2024/sui_mode/enums_no_key.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/sui_mode/enums_no_key.move rename to external-crates/move/crates/move-compiler/tests/move_2024/sui_mode/enums_no_key.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/typing/invalid_capabilities.exp b/external-crates/move/crates/move-compiler/tests/move_2024/typing/invalid_capabilities.exp similarity index 88% rename from external-crates/move/crates/move-compiler/tests/development/enums/typing/invalid_capabilities.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/typing/invalid_capabilities.exp index b92cf683429dc6..3473f76de9b6a4 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/typing/invalid_capabilities.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/typing/invalid_capabilities.exp @@ -1,5 +1,5 @@ error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:8:37 + ┌─ tests/move_2024/typing/invalid_capabilities.move:8:37 │ 3 │ public struct Nothing { } │ ------- To satisfy the constraint, the 'copy' ability would need to be added here @@ -11,7 +11,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Nothing' does not have the ability 'copy' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:9:37 + ┌─ tests/move_2024/typing/invalid_capabilities.move:9:37 │ 4 │ public struct Drop has drop { } │ ---- To satisfy the constraint, the 'copy' ability would need to be added here @@ -23,7 +23,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Drop' does not have the ability 'copy' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:10:37 + ┌─ tests/move_2024/typing/invalid_capabilities.move:10:37 │ 6 │ public struct Store has store { } │ ----- To satisfy the constraint, the 'copy' ability would need to be added here @@ -35,7 +35,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Store' does not have the ability 'copy' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:13:12 + ┌─ tests/move_2024/typing/invalid_capabilities.move:13:12 │ 3 │ public struct Nothing { } │ ------- To satisfy the constraint, the 'copy' ability would need to be added here @@ -47,7 +47,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Nothing' does not have the ability 'copy' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:16:37 + ┌─ tests/move_2024/typing/invalid_capabilities.move:16:37 │ 3 │ public struct Nothing { } │ ------- To satisfy the constraint, the 'drop' ability would need to be added here @@ -59,7 +59,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Nothing' does not have the ability 'drop' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:17:37 + ┌─ tests/move_2024/typing/invalid_capabilities.move:17:37 │ 5 │ public struct Copy has copy { } │ ---- To satisfy the constraint, the 'drop' ability would need to be added here @@ -71,7 +71,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Copy' does not have the ability 'drop' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:18:37 + ┌─ tests/move_2024/typing/invalid_capabilities.move:18:37 │ 6 │ public struct Store has store { } │ ----- To satisfy the constraint, the 'drop' ability would need to be added here @@ -83,7 +83,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Store' does not have the ability 'drop' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:21:12 + ┌─ tests/move_2024/typing/invalid_capabilities.move:21:12 │ 3 │ public struct Nothing { } │ ------- To satisfy the constraint, the 'drop' ability would need to be added here @@ -95,7 +95,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Nothing' does not have the ability 'drop' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:24:39 + ┌─ tests/move_2024/typing/invalid_capabilities.move:24:39 │ 3 │ public struct Nothing { } │ ------- To satisfy the constraint, the 'store' ability would need to be added here @@ -107,7 +107,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Nothing' does not have the ability 'store' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:25:39 + ┌─ tests/move_2024/typing/invalid_capabilities.move:25:39 │ 5 │ public struct Copy has copy { } │ ---- To satisfy the constraint, the 'store' ability would need to be added here @@ -119,7 +119,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Copy' does not have the ability 'store' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:26:39 + ┌─ tests/move_2024/typing/invalid_capabilities.move:26:39 │ 4 │ public struct Drop has drop { } │ ---- To satisfy the constraint, the 'store' ability would need to be added here @@ -131,7 +131,7 @@ error[E05001]: ability constraint not satisfied │ The type '0x42::m::Drop' does not have the ability 'store' error[E05001]: ability constraint not satisfied - ┌─ tests/development/enums/typing/invalid_capabilities.move:29:12 + ┌─ tests/move_2024/typing/invalid_capabilities.move:29:12 │ 3 │ public struct Nothing { } │ ------- To satisfy the constraint, the 'store' ability would need to be added here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/typing/invalid_capabilities.move b/external-crates/move/crates/move-compiler/tests/move_2024/typing/invalid_capabilities.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/typing/invalid_capabilities.move rename to external-crates/move/crates/move-compiler/tests/move_2024/typing/invalid_capabilities.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_patterns.exp b/external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_patterns.exp similarity index 84% rename from external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_patterns.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_patterns.exp index 26657e6a7dddc0..b23c26f3d5df41 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_patterns.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_patterns.exp @@ -1,5 +1,5 @@ error[E04024]: invalid usage of immutable variable - ┌─ tests/development/enums/typing/mut_patterns.move:27:17 + ┌─ tests/move_2024/typing/mut_patterns.move:27:17 │ 26 │ X::A(x, _) | X::B { x } => { │ - To use the variable mutably, it must be declared 'mut', e.g. 'mut x' @@ -7,7 +7,7 @@ error[E04024]: invalid usage of immutable variable │ ^ Invalid assignment of immutable variable 'x' error[E04024]: invalid usage of immutable variable - ┌─ tests/development/enums/typing/mut_patterns.move:27:17 + ┌─ tests/move_2024/typing/mut_patterns.move:27:17 │ 26 │ X::A(x, _) | X::B { x } => { │ - - The variable was initially assigned here diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_patterns.move b/external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_patterns.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_patterns.move rename to external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_patterns.move diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_ref_match.exp b/external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_ref_match.exp similarity index 85% rename from external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_ref_match.exp rename to external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_ref_match.exp index 9bb6d8663c3306..d2ad0a2f513427 100644 --- a/external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_ref_match.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_ref_match.exp @@ -1,5 +1,5 @@ warning[W09012]: unused 'mut' modifiers - ┌─ tests/development/enums/typing/mut_ref_match.move:9:22 + ┌─ tests/move_2024/typing/mut_ref_match.move:9:22 │ 9 │ X::A(mut a) => { │ --- ^ The variable 'a' is never used mutably diff --git a/external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_ref_match.move b/external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_ref_match.move similarity index 100% rename from external-crates/move/crates/move-compiler/tests/development/enums/typing/mut_ref_match.move rename to external-crates/move/crates/move-compiler/tests/move_2024/typing/mut_ref_match.move diff --git a/external-crates/move/crates/move-compiler/tests/move_2024/unit_test/expected_failure_constants_shadowed_module_invalid.unit_test.exp b/external-crates/move/crates/move-compiler/tests/move_2024/unit_test/expected_failure_constants_shadowed_module_invalid.unit_test.exp index 7f64a5458b93c8..b64b42eec13f3d 100644 --- a/external-crates/move/crates/move-compiler/tests/move_2024/unit_test/expected_failure_constants_shadowed_module_invalid.unit_test.exp +++ b/external-crates/move/crates/move-compiler/tests/move_2024/unit_test/expected_failure_constants_shadowed_module_invalid.unit_test.exp @@ -1,6 +1,9 @@ -error[E03006]: unexpected name in this position - ┌─ tests/move_2024/unit_test/expected_failure_constants_shadowed_module_invalid.move:10:35 +error[E10003]: invalid attribute value + ┌─ tests/move_2024/unit_test/expected_failure_constants_shadowed_module_invalid.move:10:24 │ 10 │ #[expected_failure(abort_code=a::a::C)] - │ ^^^^ Expected a module or address in this position, not a module member + │ ^^^^^^^^^^^^^^^^^^ + │ │ │ + │ │ Unsupported value in this assignment + │ Invalid value in attribute assignment