mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Generally optimize diagnostics performance
This commit is contained in:
parent
94e38261b3
commit
531a270d91
15 changed files with 115 additions and 85 deletions
|
@ -432,6 +432,7 @@ pub struct InferenceResult {
|
|||
/// Whether there are any type-mismatching errors in the result.
|
||||
pub(crate) has_errors: bool,
|
||||
/// Interned common types to return references to.
|
||||
// FIXME: Move this into `InferenceContext`
|
||||
standard_types: InternedStandardTypes,
|
||||
/// Stores the types which were implicitly dereferenced in pattern binding modes.
|
||||
pub pat_adjustments: FxHashMap<PatId, Vec<Ty>>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue