rust/src/librustc_errors
Mazdak Farrokhzad af33a1d902
Rollup merge of #64374 - nnethercote:box-DiagnosticBuilder, r=zackmdavis
Box `DiagnosticBuilder`.

It's a large type -- 176 bytes on 64-bit. And it's passed around and
returned from a lot of functions, including within `PResult`.

This commit boxes it, which reduces memory traffic. In particular,
`PResult` shrinks to 16 bytes in the best case; this reduces instruction
counts by up to 2% on various workloads. The commit touches a lot of
lines but it's almost all trivial plumbing changes.
2019-09-14 16:42:26 +02:00
..
annotate_snippet_emitter_writer.rs Box DiagnosticBuilder. 2019-09-12 08:29:17 +10: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 Box DiagnosticBuilder. 2019-09-12 08:29:17 +10:00
emitter.rs Box DiagnosticBuilder. 2019-09-12 08:29:17 +10:00
lib.rs Dedent macro definition 2019-09-08 23:01:43 +05:30
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