File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -215,13 +215,13 @@ impl<'sm> CachingSourceMapView<'sm> {
215215
216216 // Span lo and hi may equal line end when last line doesn't
217217 // end in newline, hence the inclusive upper bounds below.
218- debug_assert ! ( span_data. lo >= lo. line. start) ;
219- debug_assert ! ( span_data. lo <= lo. line. end) ;
220- debug_assert ! ( span_data. hi >= hi. line. start) ;
221- debug_assert ! ( span_data. hi <= hi. line. end) ;
222- debug_assert ! ( lo. file. contains( span_data. lo) ) ;
223- debug_assert ! ( lo. file. contains( span_data. hi) ) ;
224- debug_assert_eq ! ( lo. file_index, hi. file_index) ;
218+ assert ! ( span_data. lo >= lo. line. start) ;
219+ assert ! ( span_data. lo <= lo. line. end) ;
220+ assert ! ( span_data. hi >= hi. line. start) ;
221+ assert ! ( span_data. hi <= hi. line. end) ;
222+ assert ! ( lo. file. contains( span_data. lo) ) ;
223+ assert ! ( lo. file. contains( span_data. hi) ) ;
224+ assert_eq ! ( lo. file_index, hi. file_index) ;
225225
226226 Some ( (
227227 lo. file . clone ( ) ,
You can’t perform that action at this time.
0 commit comments