Evidence

A witness makes a factual statement while negotiating settlement of a disputed claim. The opposing party later offers that statement solely to impeach the witness as inconsistent with trial testimony. What is the general rule?