mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Add comment
This commit is contained in:
parent
955064b6aa
commit
70e19fd1cb
@ -143,6 +143,9 @@ pub struct TraitData {
|
|||||||
pub is_auto: bool,
|
pub is_auto: bool,
|
||||||
pub is_unsafe: bool,
|
pub is_unsafe: bool,
|
||||||
pub visibility: RawVisibility,
|
pub visibility: RawVisibility,
|
||||||
|
/// Whether the trait has `#[rust_skip_array_during_method_dispatch]`. `hir_ty` will ignore
|
||||||
|
/// method calls to this trait's methods when the receiver is an array and the crate edition is
|
||||||
|
/// 2015 or 2018.
|
||||||
pub skip_array_during_method_dispatch: bool,
|
pub skip_array_during_method_dispatch: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user