diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-07 19:53:05 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-07 19:53:05 +0000 |
commit | 5722d2b7b88cf04365037b0769316916e486de48 (patch) | |
tree | 89a4c3f6e8a2b41bb637f818defeb87a47fadd09 /crates/hir_def | |
parent | 981a0d708ec352969f9ca075a3e0e50c6da48197 (diff) | |
parent | 7066bff9c323f3a02894f70728d22a4398d2e8bd (diff) |
Merge #7097
7097: Add fix to wrap return expression in Some r=matklad a=theotherphil
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/7095
Co-authored-by: Phil Ellison <[email protected]>
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/path.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; | |||
305 | macro_rules! __known_path { | 305 | macro_rules! __known_path { |
306 | (core::iter::IntoIterator) => {}; | 306 | (core::iter::IntoIterator) => {}; |
307 | (core::result::Result) => {}; | 307 | (core::result::Result) => {}; |
308 | (core::option::Option) => {}; | ||
308 | (core::ops::Range) => {}; | 309 | (core::ops::Range) => {}; |
309 | (core::ops::RangeFrom) => {}; | 310 | (core::ops::RangeFrom) => {}; |
310 | (core::ops::RangeFull) => {}; | 311 | (core::ops::RangeFull) => {}; |