diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-23 08:42:45 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-23 08:42:45 +0000 |
commit | fb2b9c7212b8a8ad88132473ea03cd6de20c85ab (patch) | |
tree | 582ca4f048a09f86c0e489bbd31950d2b738036b /crates/hir_def/src | |
parent | eab5db20edd9604ba5d489fa8c6430eb7bac6610 (diff) | |
parent | db6dda94a39534bbf20da844a4f221c3d14509c4 (diff) |
Merge #7062
7062: Add diagnostic for filter_map followed by next r=theotherphil a=theotherphil
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1725
Co-authored-by: Phil Ellison <[email protected]>
Diffstat (limited to 'crates/hir_def/src')
-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 e34cd7f2f..84ea09b53 100644 --- a/crates/hir_def/src/path.rs +++ b/crates/hir_def/src/path.rs | |||
@@ -304,6 +304,7 @@ pub use hir_expand::name as __name; | |||
304 | #[macro_export] | 304 | #[macro_export] |
305 | macro_rules! __known_path { | 305 | macro_rules! __known_path { |
306 | (core::iter::IntoIterator) => {}; | 306 | (core::iter::IntoIterator) => {}; |
307 | (core::iter::Iterator) => {}; | ||
307 | (core::result::Result) => {}; | 308 | (core::result::Result) => {}; |
308 | (core::option::Option) => {}; | 309 | (core::option::Option) => {}; |
309 | (core::ops::Range) => {}; | 310 | (core::ops::Range) => {}; |