Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/tests/traits.rs')
-rw-r--r--crates/hir-ty/src/tests/traits.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir-ty/src/tests/traits.rs b/crates/hir-ty/src/tests/traits.rs
index 1d27d52a36..278666ef35 100644
--- a/crates/hir-ty/src/tests/traits.rs
+++ b/crates/hir-ty/src/tests/traits.rs
@@ -87,7 +87,7 @@ async fn test() {
fn infer_async_closure() {
check_types(
r#"
-//- minicore: future, option
+//- minicore: future, option, async_fn
async fn test() {
let f = async move |x: i32| x + 42;
f;
@@ -3149,6 +3149,7 @@ impl<A: Step> core::iter::Iterator for core::ops::Range<A> {
fn infer_closure_arg() {
check_infer(
r#"
+//- minicore: fn
//- /lib.rs
enum Option<T> {