rust/src/librustc_errors
Mazdak Farrokhzad bea19338d2
Rollup merge of #64721 - hman523:issue64447, r=estebank
Fixed issue from #64447

Did two tiny fixes. One is a micro optimization since we know that max is going to be assigned a `usize`, we do not have to worry about a possible negative number.
The other issue that was fixed is that the max from the children isn't updated correctly. Now it will use `sub_result` instead of `primary` and will properly get the needed value.
2019-09-24 23:45:31 +02:00
..
annotate_snippet_emitter_writer.rs Replace DiagnosticBuilder with Diagnostic when emitting error 2019-09-17 09:29:46 -04:00
Cargo.toml Introduce term-size dependency and consider term width when trimming 2019-08-21 11:56:20 -07:00
diagnostic.rs remove unused Level::PhaseFatal 2019-08-14 22:22:46 +03:00
diagnostic_builder.rs Introduce a diagnostic stashing API. 2019-09-23 17:50:06 +02:00
emitter.rs changed a line from an if else to std::cmp::max 2019-09-23 19:51:15 -05:00
lib.rs cleanup librustc_errors Handler code. 2019-09-23 22:28:14 +02:00
lock.rs Make use of ptr::null(_mut) instead of casting zero 2019-06-17 10:52:46 +00:00
registry.rs Remove licenses 2018-12-25 21:08:33 -07:00
snippet.rs librustc_errors: Remove unused annotation style OldSchoolNoteText 2019-05-23 08:01:38 +02:00
styled_buffer.rs librustc_errors => 2018 2019-02-07 03:53:01 +09:00