```
"#]],
);
+ 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]
}
"#,
expect![[r#"
- ```rust
- <Option<i32> as Try>::Output
- ```"#]],
+ ```rust
+ i32
+ ```"#]],
);
}