Skip to main content

Module outlives_suggestion

Module outlives_suggestion 

Source
Expand description

Contains utilities for generating suggestions for borrowck errors related to unsatisfied outlives constraints.

Re-exportsยง

use std::collections::BTreeMap; ๐Ÿ”’
use rustc_data_structures::fx::FxIndexSet; ๐Ÿ”’
use rustc_errors::Diag; ๐Ÿ”’
use rustc_middle::ty::RegionVid; ๐Ÿ”’
use smallvec::SmallVec; ๐Ÿ”’
use tracing::debug; ๐Ÿ”’
use super::ErrorConstraintInfo; ๐Ÿ”’
use super::RegionName; ๐Ÿ”’
use super::RegionNameSource; ๐Ÿ”’
use crate::MirBorrowckCtxt; ๐Ÿ”’

Structsยง

OutlivesSuggestionBuilder ๐Ÿ”’
Collects information about outlives constraints that needed to be added for a given MIR node corresponding to a function definition.

Enumsยง

SuggestedConstraint ๐Ÿ”’
The different things we could suggest.