diff options
author | Edwin Cheng <[email protected]> | 2019-12-19 04:45:07 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-12-19 04:45:07 +0000 |
commit | dddee23f43a0e1939124a607ba534e69a810843a (patch) | |
tree | 02fd55e52fcd54b43f218303b9a9fc2fd7d623b0 /crates/ra_hir_def/src/path.rs | |
parent | 242f0ae1d8e6766091a6050431c3d417a43a2a3e (diff) |
Add std::ops::Index support for infering
Diffstat (limited to 'crates/ra_hir_def/src/path.rs')
-rw-r--r-- | crates/ra_hir_def/src/path.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index 3b26e8337..9e37ac416 100644 --- a/crates/ra_hir_def/src/path.rs +++ b/crates/ra_hir_def/src/path.rs | |||
@@ -254,6 +254,7 @@ macro_rules! __known_path { | |||
254 | (std::ops::Try) => {}; | 254 | (std::ops::Try) => {}; |
255 | (std::ops::Neg) => {}; | 255 | (std::ops::Neg) => {}; |
256 | (std::ops::Not) => {}; | 256 | (std::ops::Not) => {}; |
257 | (std::ops::Index) => {}; | ||
257 | ($path:path) => { | 258 | ($path:path) => { |
258 | compile_error!("Please register your known path in the path module") | 259 | compile_error!("Please register your known path in the path module") |
259 | }; | 260 | }; |