Struct polonius_engine::Output[][src]

pub struct Output<T: FactTypes> {
Show 17 fields pub errors: FxHashMap<T::Point, Vec<T::Loan>>, pub subset_errors: FxHashMap<T::Point, BTreeSet<(T::Origin, T::Origin)>>, pub move_errors: FxHashMap<T::Point, Vec<T::Path>>, pub dump_enabled: bool, pub loan_live_at: FxHashMap<T::Point, Vec<T::Loan>>, pub origin_contains_loan_at: FxHashMap<T::Point, BTreeMap<T::Origin, BTreeSet<T::Loan>>>, pub origin_contains_loan_anywhere: FxHashMap<T::Origin, BTreeSet<T::Loan>>, pub origin_live_on_entry: FxHashMap<T::Point, Vec<T::Origin>>, pub loan_invalidated_at: FxHashMap<T::Point, Vec<T::Loan>>, pub subset: FxHashMap<T::Point, BTreeMap<T::Origin, BTreeSet<T::Origin>>>, pub subset_anywhere: FxHashMap<T::Origin, BTreeSet<T::Origin>>, pub var_live_on_entry: FxHashMap<T::Point, Vec<T::Variable>>, pub var_drop_live_on_entry: FxHashMap<T::Point, Vec<T::Variable>>, pub path_maybe_initialized_on_exit: FxHashMap<T::Point, Vec<T::Path>>, pub path_maybe_uninitialized_on_exit: FxHashMap<T::Point, Vec<T::Path>>, pub known_contains: FxHashMap<T::Origin, BTreeSet<T::Loan>>, pub var_maybe_partly_initialized_on_exit: FxHashMap<T::Point, Vec<T::Variable>>,
}

Fields

errors: FxHashMap<T::Point, Vec<T::Loan>>subset_errors: FxHashMap<T::Point, BTreeSet<(T::Origin, T::Origin)>>move_errors: FxHashMap<T::Point, Vec<T::Path>>dump_enabled: boolloan_live_at: FxHashMap<T::Point, Vec<T::Loan>>origin_contains_loan_at: FxHashMap<T::Point, BTreeMap<T::Origin, BTreeSet<T::Loan>>>origin_contains_loan_anywhere: FxHashMap<T::Origin, BTreeSet<T::Loan>>origin_live_on_entry: FxHashMap<T::Point, Vec<T::Origin>>loan_invalidated_at: FxHashMap<T::Point, Vec<T::Loan>>subset: FxHashMap<T::Point, BTreeMap<T::Origin, BTreeSet<T::Origin>>>subset_anywhere: FxHashMap<T::Origin, BTreeSet<T::Origin>>var_live_on_entry: FxHashMap<T::Point, Vec<T::Variable>>var_drop_live_on_entry: FxHashMap<T::Point, Vec<T::Variable>>path_maybe_initialized_on_exit: FxHashMap<T::Point, Vec<T::Path>>path_maybe_uninitialized_on_exit: FxHashMap<T::Point, Vec<T::Path>>known_contains: FxHashMap<T::Origin, BTreeSet<T::Loan>>var_maybe_partly_initialized_on_exit: FxHashMap<T::Point, Vec<T::Variable>>

Implementations

All variants require the same initial preparations, done in multiple successive steps:

  • compute initialization data
  • compute liveness
  • prepare static inputs as shared Relations
  • in cases where LocationInsensitive variant is ran as a filtering pre-pass, partial results can also be stored in the context, so that the following variant can use it to prune its own input data

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.