From b2dbe6e43a28a22be2b5d8631dff83b644520f59 Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Wed, 30 Dec 2020 17:23:00 +0000 Subject: Add fix to wrap return expression in Some --- crates/hir_expand/src/name.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/hir_expand') diff --git a/crates/hir_expand/src/name.rs b/crates/hir_expand/src/name.rs index 2f44876a8..95d853b6d 100644 --- a/crates/hir_expand/src/name.rs +++ b/crates/hir_expand/src/name.rs @@ -164,6 +164,7 @@ pub mod known { future, result, boxed, + option, // Components of known path (type name) Iterator, IntoIterator, @@ -172,6 +173,7 @@ pub mod known { Ok, Future, Result, + Option, Output, Target, Box, -- cgit v1.2.3