File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,13 @@ pub struct AllFacts<T: FactTypes> {
63
63
/// `point`. The same logic as for `initialized_at` and `moved_out_at` applies.
64
64
pub path_accessed_at : Vec < ( T :: Path , T :: Point ) > ,
65
65
66
- /// `known_subset(origin1, origin2)` when the "placeholder" `origin1` is a known subset
67
- /// of placeholder `origin2`.
66
+ /// These reflect the `'a: 'b` relations that are either declared by the user on function
67
+ /// declarations or which are inferred via implied bounds.
68
+ /// For example: `fn foo<'a, 'b: 'a, 'c>(x: &'c &'a u32)` would have two entries:
69
+ /// - one for the user-supplied subset `'b: 'a`
70
+ /// - and one for the `'a: 'c` implied bound from the `x` parameter,
71
+ /// (note that the transitive relation `'b: 'c` is not necessarily included
72
+ /// explicitly, but rather inferred by polonius).
68
73
pub known_subset : Vec < ( T :: Origin , T :: Origin ) > ,
69
74
70
75
/// `placeholder(origin, loan)` describes a placeholder `origin`, with its associated
You can’t perform that action at this time.
0 commit comments