@@ -42,11 +42,11 @@ pub struct AllFacts<T: FactTypes> {
42
42
/// `var_dropped_at(var, point)` when the variable `var` is used in a drop at `point`
43
43
pub var_dropped_at : Vec < ( T :: Variable , T :: Point ) > ,
44
44
45
- // `use_of_var_derefs_origin(variable, origin)`: References with the given
46
- // `origin` may be dereferenced when the `variable` is used.
47
- //
48
- // In rustc, we generate this whenever the type of the variable includes the
49
- // given origin.
45
+ /// `use_of_var_derefs_origin(variable, origin)`: References with the given
46
+ /// `origin` may be dereferenced when the `variable` is used.
47
+ ///
48
+ /// In rustc, we generate this whenever the type of the variable includes the
49
+ /// given origin.
50
50
pub use_of_var_derefs_origin : Vec < ( T :: Variable , T :: Origin ) > ,
51
51
52
52
/// `drop_of_var_derefs_origin(var, origin)` when the type of `var` includes
@@ -60,19 +60,19 @@ pub struct AllFacts<T: FactTypes> {
60
60
/// `path_is_var(path, var)` the root path `path` starting in variable `var`.
61
61
pub path_is_var : Vec < ( T :: Path , T :: Variable ) > ,
62
62
63
- /// `path_assigned_at (path, point)` when the `path` was initialized at point
63
+ /// `path_assigned_at_base (path, point)` when the `path` was initialized at point
64
64
/// `point`. This fact is only emitted for a prefix `path`, and not for the
65
65
/// implicit initialization of all of `path`'s children. E.g. a statement like
66
- /// `x.y = 3` at `point` would give the fact `initialized_at (x.y, point)` (but
67
- /// neither `initialized_at (x.y.z, point)` nor `initialized_at (x, point)`).
66
+ /// `x.y = 3` at `point` would give the fact `path_assigned_at_base (x.y, point)` (but
67
+ /// neither `path_assigned_at_base (x.y.z, point)` nor `path_assigned_at_base (x, point)`).
68
68
pub path_assigned_at_base : Vec < ( T :: Path , T :: Point ) > ,
69
69
70
70
/// `path_moved_at_base(path, point)` when the `path` was moved at `point`. The
71
- /// same logic is applied as for `assigned_at ` above.
71
+ /// same logic is applied as for `path_assigned_at_base ` above.
72
72
pub path_moved_at_base : Vec < ( T :: Path , T :: Point ) > ,
73
73
74
74
/// `path_accessed_at_base(path, point)` when the `path` was accessed at point
75
- /// `point`. The same logic as for `initialized_at ` and `moved_out_at ` applies.
75
+ /// `point`. The same logic as for `path_assigned_at_base ` and `path_moved_at_base ` applies.
76
76
pub path_accessed_at_base : Vec < ( T :: Path , T :: Point ) > ,
77
77
78
78
/// These reflect the `'a: 'b` relations that are either declared by the user on function
0 commit comments