From 4584868a7a23ea640694f34ed9e8c907473c66b4 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 15 Jun 2021 16:37:58 +0300 Subject: internal: don't #[ignore] tests See the style.md for motivation --- crates/ide/src/goto_definition.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'crates/ide/src/goto_definition.rs') diff --git a/crates/ide/src/goto_definition.rs b/crates/ide/src/goto_definition.rs index 8dd643a0f..d8e0dc4d5 100644 --- a/crates/ide/src/goto_definition.rs +++ b/crates/ide/src/goto_definition.rs @@ -1130,15 +1130,15 @@ fn foo<'foobar>(_: &'foobar ()) { } #[test] - #[ignore] // requires the HIR to somehow track these hrtb lifetimes fn goto_lifetime_hrtb() { - check( + // FIXME: requires the HIR to somehow track these hrtb lifetimes + check_unresolved( r#"trait Foo {} fn foo() where for<'a> T: Foo<&'a$0 (u8, u16)>, {} //^^ "#, ); - check( + check_unresolved( r#"trait Foo {} fn foo() where for<'a$0> T: Foo<&'a (u8, u16)>, {} //^^ @@ -1147,9 +1147,9 @@ fn foo() where for<'a$0> T: Foo<&'a (u8, u16)>, {} } #[test] - #[ignore] // requires ForTypes to be implemented fn goto_lifetime_hrtb_for_type() { - check( + // FIXME: requires ForTypes to be implemented + check_unresolved( r#"trait Foo {} fn foo() where T: for<'a> Foo<&'a$0 (u8, u16)>, {} //^^ -- cgit v1.2.3