aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/tests/coercion.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir_ty/src/tests/coercion.rs')
-rw-r--r--crates/ra_hir_ty/src/tests/coercion.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/ra_hir_ty/src/tests/coercion.rs b/crates/ra_hir_ty/src/tests/coercion.rs
index aa2dfb5f0..b6fce9377 100644
--- a/crates/ra_hir_ty/src/tests/coercion.rs
+++ b/crates/ra_hir_ty/src/tests/coercion.rs
@@ -576,7 +576,6 @@ fn test() {
576 ); 576 );
577} 577}
578 578
579#[ignore]
580#[test] 579#[test]
581fn coerce_unsize_trait_object() { 580fn coerce_unsize_trait_object() {
582 assert_snapshot!( 581 assert_snapshot!(
@@ -600,6 +599,13 @@ fn test() {
600} 599}
601"#, true), 600"#, true),
602 @r###" 601 @r###"
602 [240; 300) '{ ...obj; }': ()
603 [250; 253) 'obj': &dyn Bar
604 [266; 268) '&S': &S
605 [267; 268) 'S': S
606 [278; 281) 'obj': &dyn Foo
607 [294; 297) 'obj': &dyn Bar
608 [294; 297): expected &dyn Foo, got &dyn Bar
603 "### 609 "###
604 ); 610 );
605} 611}