Skip to content

Commit f6bee86

Browse files
committed
fix snapshot
1 parent 93823a4 commit f6bee86

File tree

2 files changed

+131
-0
lines changed

2 files changed

+131
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# capture = 'stderr'
2+
# command = ['eval']
3+
let C = fun label value => value in
4+
[
5+
1 | C,
6+
2 | C,
7+
3 | C,
8+
4 | C,
9+
5 | C,
10+
6 | C,
11+
7 | C,
12+
8 | C,
13+
9 | C,
14+
10 | C,
15+
11 | C,
16+
]
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
source: cli/tests/snapshot/main.rs
3+
expression: err
4+
---
5+
warning: plain functions as contracts are deprecated
6+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:15:3
7+
8+
3let C = fun label value => value in
9+
------------------------ this function
10+
·
11+
15 │ 11 | C,
12+
│ ^^ applied to this term
13+
14+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
15+
16+
warning: plain functions as contracts are deprecated
17+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:14:3
18+
19+
3 │ let C = fun label value => value in
20+
│ ------------------------ this function
21+
·
22+
14 │ 10 | C,
23+
│ ^^ applied to this term
24+
25+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
26+
27+
warning: plain functions as contracts are deprecated
28+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:13:3
29+
30+
3 │ let C = fun label value => value in
31+
│ ------------------------ this function
32+
·
33+
13 │ 9 | C,
34+
│ ^ applied to this term
35+
36+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
37+
38+
warning: plain functions as contracts are deprecated
39+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:12:3
40+
41+
3 │ let C = fun label value => value in
42+
│ ------------------------ this function
43+
·
44+
12 │ 8 | C,
45+
│ ^ applied to this term
46+
47+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
48+
49+
warning: plain functions as contracts are deprecated
50+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:11:3
51+
52+
3 │ let C = fun label value => value in
53+
│ ------------------------ this function
54+
·
55+
11 │ 7 | C,
56+
│ ^ applied to this term
57+
58+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
59+
60+
warning: plain functions as contracts are deprecated
61+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:10:3
62+
63+
3 │ let C = fun label value => value in
64+
│ ------------------------ this function
65+
·
66+
10 │ 6 | C,
67+
│ ^ applied to this term
68+
69+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
70+
71+
warning: plain functions as contracts are deprecated
72+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:9:3
73+
74+
3 │ let C = fun label value => value in
75+
│ ------------------------ this function
76+
·
77+
9 │ 5 | C,
78+
│ ^ applied to this term
79+
80+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
81+
82+
warning: plain functions as contracts are deprecated
83+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:8:3
84+
85+
3 │ let C = fun label value => value in
86+
│ ------------------------ this function
87+
·
88+
8 │ 4 | C,
89+
│ ^ applied to this term
90+
91+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
92+
93+
warning: plain functions as contracts are deprecated
94+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:7:3
95+
96+
3 │ let C = fun label value => value in
97+
│ ------------------------ this function
98+
·
99+
7 │ 3 | C,
100+
│ ^ applied to this term
101+
102+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
103+
104+
warning: plain functions as contracts are deprecated
105+
┌─ [INPUTS_PATH]/warnings/suppressed.ncl:6:3
106+
107+
3 │ let C = fun label value => value in
108+
│ ------------------------ this function
109+
·
110+
6 │ 2 | C,
111+
│ ^ applied to this term
112+
113+
= wrap this function using one of the constructors in `std.contract` instead, like `std.contract.from_validator` or `std.contract.custom`
114+
115+
(suppressed 1 additional warnings)

0 commit comments

Comments
 (0)