chore: weird thing from rebase

This commit is contained in:
rvcas 2024-03-13 20:21:33 -04:00
parent e71470747f
commit 191a3e9134
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 4 additions and 3 deletions

View File

@ -1761,7 +1761,7 @@ fn backpassing_type_annotation() {
(Foo(1), inputs)
}
[input, ..remaining_inputs] -> {
callback(input)(
fn(foo) {
transition_fold4(
@ -1779,7 +1779,7 @@ fn backpassing_type_annotation() {
transition_fold4(
x,
)
fn(g){
g(if input.foo == 1{
1
@ -1787,13 +1787,14 @@ fn backpassing_type_annotation() {
2
})
}
}
"#;
assert!(check(parse(source_code)).is_ok())
}
#[test]
fn forbid_expect_into_opaque_type_from_data() {
let source_code = r#"
opaque type Thing { inner: Int }