chore: weird thing from rebase
This commit is contained in:
parent
e71470747f
commit
191a3e9134
|
@ -1761,7 +1761,7 @@ fn backpassing_type_annotation() {
|
||||||
(Foo(1), inputs)
|
(Foo(1), inputs)
|
||||||
}
|
}
|
||||||
[input, ..remaining_inputs] -> {
|
[input, ..remaining_inputs] -> {
|
||||||
|
|
||||||
callback(input)(
|
callback(input)(
|
||||||
fn(foo) {
|
fn(foo) {
|
||||||
transition_fold4(
|
transition_fold4(
|
||||||
|
@ -1779,7 +1779,7 @@ fn backpassing_type_annotation() {
|
||||||
transition_fold4(
|
transition_fold4(
|
||||||
x,
|
x,
|
||||||
)
|
)
|
||||||
|
|
||||||
fn(g){
|
fn(g){
|
||||||
g(if input.foo == 1{
|
g(if input.foo == 1{
|
||||||
1
|
1
|
||||||
|
@ -1787,13 +1787,14 @@ fn backpassing_type_annotation() {
|
||||||
2
|
2
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
"#;
|
"#;
|
||||||
|
|
||||||
assert!(check(parse(source_code)).is_ok())
|
assert!(check(parse(source_code)).is_ok())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
fn forbid_expect_into_opaque_type_from_data() {
|
fn forbid_expect_into_opaque_type_from_data() {
|
||||||
let source_code = r#"
|
let source_code = r#"
|
||||||
opaque type Thing { inner: Int }
|
opaque type Thing { inner: Int }
|
||||||
|
|
Loading…
Reference in New Issue