mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Use bitflags to compress function properties
Very minor savings, only 1 MB or so
This commit is contained in:
parent
f7e6b186e1
commit
ee4b5a34d8
11 changed files with 120 additions and 71 deletions
|
@ -675,7 +675,7 @@ fn is_valid_candidate(
|
|||
}
|
||||
}
|
||||
if let Some(receiver_ty) = receiver_ty {
|
||||
if !data.has_self_param {
|
||||
if !data.has_self_param() {
|
||||
return false;
|
||||
}
|
||||
let transformed_receiver_ty = match transform_receiver_ty(db, m, self_ty) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue