| 183 | /// The lockguard info. `span` is for report. |
| 184 | #[derive(Clone, Debug)] |
| 185 | pub struct LockGuardInfo<'tcx> { |
| 186 | pub lockguard_ty: LockGuardTy<'tcx>, |
| 187 | pub span: Span, |
| 188 | pub gen_locs: SmallVec<[Location; 4]>, |
| 189 | pub move_gen_locs: SmallVec<[Location; 4]>, |
| 190 | pub recursive_gen_locs: SmallVec<[Location; 4]>, |
| 191 | pub kill_locs: SmallVec<[Location; 4]>, |
| 192 | } |
| 193 | |
| 194 | impl<'tcx> LockGuardInfo<'tcx> { |
| 195 | pub fn new(lockguard_ty: LockGuardTy<'tcx>, span: Span) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected