Commit a6f1990
committed
[Tests] NFC: Update lifetime tests to avoid overloading on borrowing/consuming attributes
Overloading like that should not be allowed but that would have to
be addressed separately, meanwhile let's add a label to `consuming`
init to make sure that the test no longer relies on the type-checker
hacks.1 parent 49499d0 commit a6f1990
File tree
1 file changed
+4
-2
lines changed- test/SILOptimizer/lifetime_dependence
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | | - | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
0 commit comments