diff options
author | Jonas Schievink <[email protected]> | 2021-06-03 12:51:43 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-06-03 12:51:43 +0100 |
commit | 70e19fd1cb442587abb61258af341b6e530032d4 (patch) | |
tree | bbc234e249e116629665ad86c76874b4422fed6f /crates | |
parent | 955064b6aaa5c24e980328f9d9fbe731cc29636c (diff) |
Add comment
Diffstat (limited to 'crates')
-rw-r--r-- | crates/hir_def/src/data.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/hir_def/src/data.rs b/crates/hir_def/src/data.rs index 2f06a6e29..52cb7777b 100644 --- a/crates/hir_def/src/data.rs +++ b/crates/hir_def/src/data.rs | |||
@@ -143,6 +143,9 @@ pub struct TraitData { | |||
143 | pub is_auto: bool, | 143 | pub is_auto: bool, |
144 | pub is_unsafe: bool, | 144 | pub is_unsafe: bool, |
145 | pub visibility: RawVisibility, | 145 | pub visibility: RawVisibility, |
146 | /// Whether the trait has `#[rust_skip_array_during_method_dispatch]`. `hir_ty` will ignore | ||
147 | /// method calls to this trait's methods when the receiver is an array and the crate edition is | ||
148 | /// 2015 or 2018. | ||
146 | pub skip_array_during_method_dispatch: bool, | 149 | pub skip_array_during_method_dispatch: bool, |
147 | } | 150 | } |
148 | 151 | ||