{"ast_node_type":"function","tokens":[{"end":73,"kind":"keyword","start":0,"text":"pub"}]}
    pub fn take_and_reset_data(&mut self) -> RegionConstraintData<'tcx> {
    /// Not legal during a snapshot.
        assert!(!UndoLogs::<UndoLog<'_>>::in_snapshot(&self.undo_log));