Skip to content

Commit 1765aa5

Browse files
authored
Upgrade toolchain to 2024-11-27 (#3751)
Update parameter and function indices in LLBC tests that appear to have changed without any of the upstream changes obviously causing this. Those tests will eventually be removed in upcoming changes. Resolves: #3747 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
1 parent 2244eec commit 1765aa5

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# SPDX-License-Identifier: Apache-2.0 OR MIT
33

44
[toolchain]
5-
channel = "nightly-2024-11-26"
5+
channel = "nightly-2024-11-27"
66
components = ["llvm-tools", "rustc-dev", "rust-src", "rustfmt"]

tests/expected/llbc/enum/expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn test::main()
2929
let i@2: i32; // local
3030

3131
e@1 := test::MyEnum::A { 0: const (1 : i32) }
32-
i@2 := @Fun1(move (e@1))
32+
i@2 := @Fun0(move (e@1))
3333
drop i@2
3434
@0 := ()
3535
return

tests/expected/llbc/projection/expected

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@ struct test::MyStruct =
55
}
66

77
enum test::MyEnum0 =
8-
| A(0: @Adt0, 1: i32)
8+
| A(0: @Adt1, 1: i32)
99
| B()
1010

1111

1212
enum test::MyEnum =
13-
| A(0: @Adt0, 1: @Adt2)
13+
| A(0: @Adt1, 1: @Adt2)
1414
| B(0: (i32, i32))
1515

1616

17-
fn test::enum_match(@1: @Adt1) -> i32
17+
fn test::enum_match(@1: @Adt0) -> i32
1818
{
1919
let @0: i32; // return
20-
let e@1: @Adt1; // arg #1
21-
let s@2: @Adt0; // local
20+
let e@1: @Adt0; // arg #1
21+
let s@2: @Adt1; // local
2222
let e0@3: @Adt2; // local
23-
let s1@4: @Adt0; // local
23+
let s1@4: @Adt1; // local
2424
let b@5: i32; // local
2525
let @6: i32; // anonymous local
2626
let @7: i32; // anonymous local
@@ -66,18 +66,18 @@ fn test::enum_match(@1: @Adt1) -> i32
6666
fn test::main()
6767
{
6868
let @0: (); // return
69-
let s@1: @Adt0; // local
70-
let s0@2: @Adt0; // local
71-
let e@3: @Adt1; // local
69+
let s@1: @Adt1; // local
70+
let s0@2: @Adt1; // local
71+
let e@3: @Adt0; // local
7272
let @4: @Adt2; // anonymous local
7373
let i@5: i32; // local
7474

75-
s@1 := @Adt0 { a: const (1 : i32), b: const (2 : i32) }
76-
s0@2 := @Adt0 { a: const (1 : i32), b: const (2 : i32) }
75+
s@1 := @Adt1 { a: const (1 : i32), b: const (2 : i32) }
76+
s0@2 := @Adt1 { a: const (1 : i32), b: const (2 : i32) }
7777
@4 := test::MyEnum0::A { 0: move (s0@2), 1: const (1 : i32) }
7878
e@3 := test::MyEnum::A { 0: move (s@1), 1: move (@4) }
7979
drop @4
80-
i@5 := @Fun1(move (e@3))
80+
i@5 := @Fun0(move (e@3))
8181
drop i@5
8282
@0 := ()
8383
return

tests/expected/llbc/tuple/expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn test::main()
2020
let @2: (i32, i32); // anonymous local
2121

2222
@2 := (const (1 : i32), const (2 : i32))
23-
s@1 := @Fun1(move (@2))
23+
s@1 := @Fun0(move (@2))
2424
drop @2
2525
drop s@1
2626
@0 := ()

0 commit comments

Comments
 (0)