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_def/src/path.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/hir_def/src') diff --git a/crates/hir_def/src/path.rs b/crates/hir_def/src/path.rs index e2bf85bbc..3dd7c3cbb 100644 --- a/crates/hir_def/src/path.rs +++ b/crates/hir_def/src/path.rs @@ -305,6 +305,7 @@ pub use hir_expand::name as __name; macro_rules! __known_path { (core::iter::IntoIterator) => {}; (core::result::Result) => {}; + (core::option::Option) => {}; (core::ops::Range) => {}; (core::ops::RangeFrom) => {}; (core::ops::RangeFull) => {}; -- cgit v1.2.3