Skip to content

Commit 379fea0

Browse files
committed
fix: make ci happy
1 parent 81c499c commit 379fea0

File tree

6 files changed

+169
-165
lines changed

6 files changed

+169
-165
lines changed

Cargo.lock

Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ rustyline = { version = "14.0.0", optional = true }
6262
shlex = { version = "1.3.0", optional = true }
6363
notify = { version = "6.1.1", optional = true }
6464
ustr = {version = "1.0.0", features = ["serde"]}
65+
getrandom = {version = "0.2.15", features = ["js"]}
6566

6667
[target.'cfg(target_arch = "wasm32")'.dependencies]
6768
wasm-bindgen = "0.2"

src/ast/expects/match_diag.pi.expect

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,13 @@
7777
help: None,
7878
labels: [
7979
PLLabel {
80-
file: "",
80+
file: u!(""),
8181
txt: Some(
8282
(
83-
"found {} elements here, expect {} elements",
83+
u!("found {} elements here, expect {} elements"),
8484
[
85-
"0",
86-
"2",
85+
u!("0"),
86+
u!("2"),
8787
],
8888
),
8989
),
@@ -124,13 +124,13 @@
124124
help: None,
125125
labels: [
126126
PLLabel {
127-
file: "",
127+
file: u!(""),
128128
txt: Some(
129129
(
130-
"found {} elements here, expect {} elements",
130+
u!("found {} elements here, expect {} elements"),
131131
[
132-
"3",
133-
"2",
132+
u!("3"),
133+
u!("2"),
134134
],
135135
),
136136
),
@@ -171,13 +171,13 @@
171171
help: None,
172172
labels: [
173173
PLLabel {
174-
file: "",
174+
file: u!(""),
175175
txt: Some(
176176
(
177-
"match condition is of type `{}`, expected to be one of: `{}`",
177+
u!("match condition is of type `{}`, expected to be one of: `{}`"),
178178
[
179-
"f64",
180-
"i64, None",
179+
u!("f64"),
180+
u!("i64, None"),
181181
],
182182
),
183183
),
@@ -218,13 +218,13 @@
218218
help: None,
219219
labels: [
220220
PLLabel {
221-
file: "",
221+
file: u!(""),
222222
txt: Some(
223223
(
224-
"match condition is of type `{}`, imcompatible with type `{}`",
224+
u!("match condition is of type `{}`, imcompatible with type `{}`"),
225225
[
226-
"string",
227-
"i64",
226+
u!("string"),
227+
u!("i64"),
228228
],
229229
),
230230
),
@@ -265,14 +265,14 @@
265265
help: None,
266266
labels: [
267267
PLLabel {
268-
file: "",
268+
file: u!(""),
269269
txt: Some(
270270
(
271-
"match condition like `{}` can only be used while maching through struct types. Here `{}` is of type `{}`",
271+
u!("match condition like `{}` can only be used while maching through struct types. Here `{}` is of type `{}`"),
272272
[
273-
"{field:cond ...}",
274-
"i64",
275-
"primitive",
273+
u!("{field:cond ...}"),
274+
u!("i64"),
275+
u!("primitive"),
276276
],
277277
),
278278
),
@@ -313,14 +313,14 @@
313313
help: None,
314314
labels: [
315315
PLLabel {
316-
file: "",
316+
file: u!(""),
317317
txt: Some(
318318
(
319-
"match condition like `{}` can only be used while maching through union types. Here `{}` is of type `{}`",
319+
u!("match condition like `{}` can only be used while maching through union types. Here `{}` is of type `{}`"),
320320
[
321-
"type(cond)",
322-
"i64",
323-
"primitive",
321+
u!("type(cond)"),
322+
u!("i64"),
323+
u!("primitive"),
324324
],
325325
),
326326
),

0 commit comments

Comments
 (0)