@@ -357,7 +357,13 @@ fn test_invalid_assign_statement() {
357
357
failed at (src/file.rs:LL:CC) because
358
358
judgment `prove_wc_list { goal: {u32 <: ()}, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
359
359
the rule "some" failed at step #0 (src/file.rs:LL:CC) because
360
- judgment had no applicable rules: `prove_wc { goal: u32 <: (), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
360
+ judgment `prove_wc { goal: u32 <: (), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
361
+ the rule "subtype" failed at step #0 (src/file.rs:LL:CC) because
362
+ judgment `prove_sub { a: u32, b: (), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
363
+ the rule "normalize-l" failed at step #0 (src/file.rs:LL:CC) because
364
+ judgment had no applicable rules: `prove_normalize { p: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`
365
+ the rule "normalize-r" failed at step #0 (src/file.rs:LL:CC) because
366
+ judgment had no applicable rules: `prove_normalize { p: (), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
361
367
)
362
368
}
363
369
@@ -386,7 +392,13 @@ fn test_invalid_assign_constant() {
386
392
failed at (src/file.rs:LL:CC) because
387
393
judgment `prove_wc_list { goal: {u32 <: usize}, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
388
394
the rule "some" failed at step #0 (src/file.rs:LL:CC) because
389
- judgment had no applicable rules: `prove_wc { goal: u32 <: usize, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
395
+ judgment `prove_wc { goal: u32 <: usize, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
396
+ the rule "subtype" failed at step #0 (src/file.rs:LL:CC) because
397
+ judgment `prove_sub { a: u32, b: usize, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
398
+ the rule "normalize-l" failed at step #0 (src/file.rs:LL:CC) because
399
+ judgment had no applicable rules: `prove_normalize { p: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`
400
+ the rule "normalize-r" failed at step #0 (src/file.rs:LL:CC) because
401
+ judgment had no applicable rules: `prove_normalize { p: usize, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
390
402
)
391
403
}
392
404
@@ -553,7 +565,13 @@ fn test_pass_non_subtype_arg() {
553
565
failed at (src/file.rs:LL:CC) because
554
566
judgment `prove_wc_list { goal: {() <: u32}, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
555
567
the rule "some" failed at step #0 (src/file.rs:LL:CC) because
556
- judgment had no applicable rules: `prove_wc { goal: () <: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
568
+ judgment `prove_wc { goal: () <: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
569
+ the rule "subtype" failed at step #0 (src/file.rs:LL:CC) because
570
+ judgment `prove_sub { a: (), b: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
571
+ the rule "normalize-l" failed at step #0 (src/file.rs:LL:CC) because
572
+ judgment had no applicable rules: `prove_normalize { p: (), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`
573
+ the rule "normalize-r" failed at step #0 (src/file.rs:LL:CC) because
574
+ judgment had no applicable rules: `prove_normalize { p: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
557
575
)
558
576
}
559
577
@@ -630,7 +648,13 @@ fn test_incompatible_return_type() {
630
648
failed at (src/file.rs:LL:CC) because
631
649
judgment `prove_wc_list { goal: {() <: u32}, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
632
650
the rule "some" failed at step #0 (src/file.rs:LL:CC) because
633
- judgment had no applicable rules: `prove_wc { goal: () <: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
651
+ judgment `prove_wc { goal: () <: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
652
+ the rule "subtype" failed at step #0 (src/file.rs:LL:CC) because
653
+ judgment `prove_sub { a: (), b: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }` failed at the following rule(s):
654
+ the rule "normalize-l" failed at step #0 (src/file.rs:LL:CC) because
655
+ judgment had no applicable rules: `prove_normalize { p: (), assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`
656
+ the rule "normalize-r" failed at step #0 (src/file.rs:LL:CC) because
657
+ judgment had no applicable rules: `prove_normalize { p: u32, assumptions: {}, env: Env { variables: [], bias: Soundness, pending: [] } }`"# ] ]
634
658
)
635
659
}
636
660
0 commit comments