rust/compiler/rustc_errors/src
Ralf Jung c2d9af68a0
Rollup merge of #76846 - botika:master, r=davidtwco
Avoiding unnecesary allocations at rustc_errors

Simplify the code avoiding allocations with easy alternative
2020-09-21 10:40:30 +02:00
..
json mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
annotate_snippet_emitter_writer.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
diagnostic_builder.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
diagnostic.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
emitter.rs Remove redundant to_string 2020-09-17 10:27:04 +00:00
json.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs Simplify panic_if_treat_err_as_bug avoiding allocations 2020-09-18 05:57:01 +00:00
lock.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
registry.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
snippet.rs use matches!() macro for simple if let conditions 2020-09-18 20:28:35 +02:00
styled_buffer.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00