Skip to content

Commit 70e19fd

Browse files
Add comment
1 parent 955064b commit 70e19fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/hir_def/src/data.rs

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ pub struct TraitData {
143143
pub is_auto: bool,
144144
pub is_unsafe: bool,
145145
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.
146149
pub skip_array_during_method_dispatch: bool,
147150
}
148151

0 commit comments

Comments
 (0)