Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/hover/tests.rs')
-rw-r--r--crates/ide/src/hover/tests.rs22
1 files changed, 3 insertions, 19 deletions
diff --git a/crates/ide/src/hover/tests.rs b/crates/ide/src/hover/tests.rs
index 5cab017a58..eb997e6fef 100644
--- a/crates/ide/src/hover/tests.rs
+++ b/crates/ide/src/hover/tests.rs
@@ -4913,22 +4913,6 @@ fn foo() -> NotResult<(), Short> {
```
"#]],
);
- check_hover_range(
- r#"
-//- minicore: try
-use core::ops::ControlFlow;
-fn foo() -> ControlFlow<()> {
- $0ControlFlow::Break(())?$0;
- ControlFlow::Continue(())
-}
-"#,
- expect![[r#"
- ```text
- Try Target Type: ControlFlow<(), {unknown}>
- Propagated as: ControlFlow<(), ()>
- ```
- "#]],
- );
}
#[test]
@@ -4944,9 +4928,9 @@ fn foo() -> Option<()> {
}
"#,
expect![[r#"
- ```rust
- i32
- ```"#]],
+ ```rust
+ <Option<i32> as Try>::Output
+ ```"#]],
);
}