Skip to content

Commit 82bd1b5

Browse files
committed
Update snapshot for unused discard pattern test
1 parent 359b238 commit 82bd1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-core/src/type_/tests/snapshots/gleam_core__type___tests__warnings__unused_discard_pattern.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
source: compiler-core/src/type_/tests/warnings.rs
3-
assertion_line: 3932
3+
assertion_line: 4195
44
expression: "pub fn main() {\n let a = 10\n let _ = case a {\n _ as b -> b\n }\n}\n"
55
snapshot_kind: text
66
---
@@ -20,5 +20,5 @@ warning: Unused discard pattern
2020
4_ as b -> b
2121
^
2222

23-
_ as b can be written more concisely as b
23+
`_ as b` can be written more concisely as `b`
2424
Hint: Replace with b

0 commit comments

Comments
 (0)